oembed_ttl

oembed_ttl

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('oembed_ttl') is found 1 times:

  • /wp-includes/class-wp-embed.php line 249
    		 * @param string $url     The attempted embed URL.
    		 * @param array  $attr    An array of shortcode attributes.
    		 * @param int    $post_id Post ID.
    		 */
    		$ttl = apply_filters( 'oembed_ttl', DAY_IN_SECONDS, $url, $attr, $post_id );
    
    		$cache      = '';
    		$cache_time = 0;
    
    		$cached_post_id = $this->find_oembed_post_id( $key_suffix );