Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/class-wp-embed.php | apply_filters | 247 | /** * Filters the oEmbed TTL value (time to live). * * @since 4.0.0 * * @param int $time Time to live (in seconds). * @param string $url The attempted embed URL. * @param array $attr An array of shortcode attributes. * @param int $post_ID Post ID. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
int | $time | Time to live (in seconds). |
string | $url | The attempted embed URL. |
array | $attr | An array of shortcode attributes. |
int | $post_ID | Post ID. |