oembed_ttl

最后更新于:2021-11-27 12:13:19

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

Filters the oEmbed TTL value (time to live).

参数

$time

(int)
Time to live (in seconds).

$url

(string)
The attempted embed URL.

$attr

(array)
An array of shortcode attributes.

$post_ID

(int)
Post ID.

源文件

文件: gc-includes/class-gc-embed.php

View on Trac