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)
  • () time Time to live (in seconds).
    Richiesto: Sì
  • () url The attempted embed URL.
    Richiesto: Sì
  • () attr An array of shortcode attributes.
    Richiesto: Sì
  • () post_id Post ID.
    Richiesto: Sì
Definito a:
Codex:

Filters the oEmbed TTL value (time to live).





Sorgenti

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