wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



oembed_ttl › WordPress Filter Hooks

Da4.0.0
Deprecaton/a
apply_filters( 'oembed_ttl', DAY_IN_SECONDS, $url, $attr, $post_id )
Parametri: (4)
  • (int) $time Time to live (in seconds).
    Richiesto:
  • (string) $url The attempted embed URL.
    Richiesto:
  • (array) $attr An array of shortcode attributes.
    Richiesto:
  • (int) $post_id Post ID.
    Richiesto:
Definito a:
Codex:

Filters the oEmbed TTL value (time to live).





Sorgenti

$ttl = apply_filters( 'oembed_ttl', DAY_IN_SECONDS, $url, $attr, $post_id );