wpseo_ftc_post_update_social_profiles хук-событиеYoast 1.0

Action: 'wpseo_post_update_social_profiles' - Allows for Hiive event tracking.

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

add_action( 'wpseo_ftc_post_update_social_profiles', 'wp_kama_wpseo_ftc_post_update_social_profiles_action', 10, 3 );

/**
 * Function for `wpseo_ftc_post_update_social_profiles` action-hook.
 * 
 * @param array $params     The new values of the options.
 * @param array $old_values The old values of the options.
 * @param array $failures   The options that failed to be saved.
 *
 * @return void
 */
function wp_kama_wpseo_ftc_post_update_social_profiles_action( $params, $old_values, $failures ){

	// action...
}
$params(массив)
The new values of the options.
$old_values(массив)
The old values of the options.
$failures(массив)
The options that failed to be saved.

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

First_Time_Configuration_Action::set_social_profiles()
wpseo_ftc_post_update_social_profiles
yoast/src/actions/configuration/first-time-configuration-action.php 124
\do_action( 'wpseo_ftc_post_update_social_profiles', $params, $old_values, $failures );

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

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