oembed_ttl

oembed_ttl

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-5.4.1

apply_filters('oembed_ttl') is found 1 times:

  • /wp-includes/class-wp-embed.php line 214
    		 * @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 );