wordproof_timestamp_post_meta_key_overrides
wordproof_timestamp_post_meta_key_overrides
Appears in: wordpress-seo.19.10, wordpress-seo.19.11, wordpress-seo.19.13, wordpress-seo.19.2, wordpress-seo.19.3, wordpress-seo.19.5.1, wordpress-seo.19.6, wordpress-seo.19.6.1, wordpress-seo.19.7.1, wordpress-seo.19.7.2, wordpress-seo.19.8, wordpress-seo.19.9, wordpress-seo.20.1, wordpress-seo.20.10, wordpress-seo.20.11, wordpress-seo.20.12, wordpress-seo.20.2.1, wordpress-seo.20.3, wordpress-seo.20.5, wordpress-seo.20.6, wordpress-seo.20.7, wordpress-seo.20.8, wordpress-seo.21.0, wordpress-seo.21.1, wordpress-seo.21.2, wordpress-seo.21.4, wordpress-seo.21.5, wordpress-seo.21.7, wordpress-seo.21.8, wordpress-seo.21.8.1, wordpress-seo.21.9.1, wordpress-seo.22.0, wordpress-seo.22.1, wordpress-seo.22.2, wordpress-seo.22.3, wordpress-seo.22.6, wordpress-seo.22.8, wordpress-seo.22.9
Hook Type: filter
See hook in action
Displaying hooks found in version: wordpress-seo.22.9apply_filters('wordproof_timestamp_post_meta_key_overrides') is found 2 times:
- /vendor_prefixed/wordproof/wordpress-sdk/app/Controllers/TimestampController.php line 78
* @param $metaValue */ public function syncPostMetaTimestampOverrides($metaId, $postId, $metaKey, $metaValue) { $timestampablePostMetaKeys = \apply_filters('wordproof_timestamp_post_meta_key_overrides', ['_wordproof_timestamp']); if (\in_array($metaKey, $timestampablePostMetaKeys, \true) && \count($timestampablePostMetaKeys) > 1) { $arrayKey = \array_search($metaKey, $timestampablePostMetaKeys, \true); unset($timestampablePostMetaKeys[$arrayKey]); \YoastSEO_Vendor\WordProof\SDK\Helpers\TransientHelper::set('wordproof_debounce_post_meta_sync_' . $metaKey . '_' . $postId, \true, 5); foreach ($timestampablePostMetaKeys as $key) { \YoastSEO_Vendor\WordProof\SDK\Helpers\TransientHelper::debounce($postId, 'post_meta_sync_' . $key, function () use($postId, $key, $metaValue) {
- /vendor_prefixed/wordproof/wordpress-sdk/app/Helpers/TimestampHelper.php line 62
return \false; } private static function hasPostMetaOverrideSetToTrue(\WP_Post $post) { $timestampablePostMetaKeys = \apply_filters('wordproof_timestamp_post_meta_key_overrides', ['_wordproof_timestamp']); //Do not use PostMeta helper $meta = \get_post_meta($post->ID); foreach ($timestampablePostMetaKeys as $key) { if (!isset($meta[$key])) { continue; }