oembed_ttl

Advertisement

Summery Summery

Filters the oEmbed TTL value (time to live).

Syntax Syntax

apply_filters( 'oembed_ttl', int $time, string $url, array $attr, int $post_ID )

Parameters Parameters

$time

Time to live (in seconds).

$url

The attempted embed URL.

$attr

An array of shortcode attributes.

$post_ID

Post ID.

Source Source

File: wp-includes/class-wp-embed.php

Advertisement

Changelog Changelog

Changelog
Version Description
4.0.0 Introduced.

Advertisement

Leave a Reply