Yoast\WP\SEO\Integrations\Front_End
Category_Term_Description::register_hooks() public Yoast 1.0
Initializes the integration.
This is the place to register hooks and filters.
{} Это метод класса: Category_Term_Description{}
Хуков нет.
Возвращает
null.
Использование
$Category_Term_Description = new Category_Term_Description(); $Category_Term_Description->register_hooks();
Код Category_Term_Description::register_hooks() Category Term Description::register hooks Yoast 15.6.2
public function register_hooks() {
\add_filter( 'category_description', [ $this, 'add_shortcode_support' ] );
\add_filter( 'term_description', [ $this, 'add_shortcode_support' ] );
}