wpseo_og_(og_property) хук-фильтр . Yoast 1.0
Устарел с версии 14.0. Больше не поддерживается и может быть удален. Рекомендуется заменить этот хук на аналог.╳
Deprecated: 14.0
Filter: 'wpseo_og_' . $og_property - Allow developers to change the content of specific OG meta tags.
Использование
add_filter( 'wpseo_og_(og_property)', 'filter_function_name_9539', 10, 2 ); function filter_function_name_9539( $content, $string ){ // filter... return $content; }
- $content(строка)
- The content of the property.
- $string
- -
Список изменений
Устарела с | 14.0 |
Где вызывается хук
wpseo_og_(og_property)
yoast/src/deprecated/frontend/class-opengraph.php 58
$content = apply_filters_deprecated( 'wpseo_og_' . $og_property, $content, 'WPSEO 14.0' );