Yoast\WP\SEO\Routes

Workouts_Route::get_workouts_routes_args()privateYoast 1.0

Gets the args for all the registered workouts.

Метод класса: Workouts_Route{}

Хуки из метода

Возвращает

Массив.

Использование

// private - только в коде основоного (родительского) класса
$result = $this->get_workouts_routes_args();

Код Workouts_Route::get_workouts_routes_args() Yoast 22.4

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 );
}