Yoast_Dynamic_Rewrites::trigger_dynamic_rewrite_rules_hook()
Triggers the hook on which rewrite rules should be added.
This allows for a more specific point in time from the generic init hook where this is otherwise handled.
Метод класса: Yoast_Dynamic_Rewrites{}
Хуки из метода
Возвращает
null
. Ничего (null).
Использование
$Yoast_Dynamic_Rewrites = new Yoast_Dynamic_Rewrites(); $Yoast_Dynamic_Rewrites->trigger_dynamic_rewrite_rules_hook();
Код Yoast_Dynamic_Rewrites::trigger_dynamic_rewrite_rules_hook() Yoast Dynamic Rewrites::trigger dynamic rewrite rules hook Yoast 24.9
public function trigger_dynamic_rewrite_rules_hook() { /** * Fires when the plugin's dynamic rewrite rules should be added. * * @param self $dynamic_rewrites Dynamic rewrites handler instance. Use its `add_rule()` method * to add dynamic rewrite rules. */ do_action( 'yoast_add_dynamic_rewrite_rules', $this ); }