wpseo_handle_import хук-фильтрYoast 1.0

Allow custom import actions.

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

add_filter( 'wpseo_handle_import', 'wp_kama_wpseo_handle_import_filter' );

/**
 * Function for `wpseo_handle_import` filter-hook.
 * 
 * @param WPSEO_Import_Status $yoast_seo_import Contains info about the handled import.
 *
 * @return WPSEO_Import_Status
 */
function wp_kama_wpseo_handle_import_filter( $yoast_seo_import ){

	// filter...
	return $yoast_seo_import;
}
$yoast_seo_import(WPSEO_Import_Status)
Contains info about the handled import.

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

В файле: /admin/views/tool-import-export.php
wpseo_handle_import
yoast/admin/views/tool-import-export.php 56
$yoast_seo_import = apply_filters( 'wpseo_handle_import', $yoast_seo_import );

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

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