wpseo_handle_import хук-фильтр . Yoast 1.0
Allow custom import actions.
Использование
add_filter( 'wpseo_handle_import', 'filter_function_name_1317' ); function filter_function_name_1317( $import ){ // filter... return $import; }
- $import(WPSEO_Import_Status)
- Contains info about the handled import.
Где вызывается хук
В файле: /admin/views/tool-import-export.php
yoast/admin/views/tool-import-export.php 55
$import = apply_filters( 'wpseo_handle_import', $import );