Yoast\WP\SEO\workouts_route_save │ хук-фильтр │ Yoast 1.0

Filter: 'Yoast\WP\SEO\workouts_route_save' - Allows the add-ons to save the options data in their own options.

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

add_filter( 'Yoast\WP\SEO\workouts_route_save', 'wp_kama_Yoast\WP\SEO\workouts_route_save_filter', 10, 2 );

/**
 * Function for `Yoast\WP\SEO\workouts_route_save` filter-hook.
 * 
 * @param mixed|null $result        The result of the previous saving operation.
 * @param array      $workouts_data The full set of workouts option data to save.
 *
 * @return mixed|null
 */
function wp_kama_Yoast\WP\SEO\workouts_route_save_filter( $result, $workouts_data ){
	// filter...
	return $result;
}
$result(разное|null)
The result of the previous saving operation.
$workouts_data(массив)
The full set of workouts option data to save.

Где вызывается хук

Workouts_Route::set_workouts()
Yoast\WP\SEO\workouts_route_save
yoast/src/routes/workouts-route.php 105
$result = \apply_filters( 'Yoast\WP\SEO\workouts_route_save', null, $workouts_data );

Где используется хук в Yoast SEO

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