wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



oembed_ttl › Les Filtres WordPress

Depuis4.0.0
Dépréciéen/a
› apply_filters( 'oembed_ttl', DAY_IN_SECONDS, $url, $attr, $post_id )
Paramètres: (4)
  • () time Time to live (in seconds).
    Requis: Oui
  • () url The attempted embed URL.
    Requis: Oui
  • () attr An array of shortcode attributes.
    Requis: Oui
  • () post_id Post ID.
    Requis: Oui
Défini(e) dans:
Codex:

Filters the oEmbed TTL value (time to live).





Source

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