Yoast\WP\SEO\Routes
Workouts_Route::get_workouts_routes_args
Gets the args for all the registered workouts.
Метод класса: Workouts_Route{}
Хуки из метода
Возвращает
Массив.
Использование
// private - только в коде основоного (родительского) класса $result = $this->get_workouts_routes_args();
Код Workouts_Route::get_workouts_routes_args() Workouts Route::get workouts routes args Yoast 27.6
private function get_workouts_routes_args() {
$args_array = [];
/**
* Filter: 'Yoast\WP\SEO\workouts_route_args' - Allows the add-ons add their own arguments to the route registration.
*
* @param array $args_array The array of arguments for the route registration.
*/
return \apply_filters( 'Yoast\WP\SEO\workouts_route_args', $args_array );
}