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

Filter 'wpseo_aioseo_post_cursor' - Allow filtering the value of the aioseo post import cursor.

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

add_filter( 'wpseo_aioseo_post_import_cursor', 'wp_kama_wpseo_aioseo_post_import_cursor_filter' );

/**
 * Function for `wpseo_aioseo_post_import_cursor` filter-hook.
 * 
 * @param int $import_cursor The value of the aioseo post import cursor.
 *
 * @return int
 */
function wp_kama_wpseo_aioseo_post_import_cursor_filter( $import_cursor ){

	// filter...
	return $import_cursor;
}
$import_cursor(int)
The value of the aioseo post import cursor.

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

Aioseo_Posts_Importing_Action::query()
wpseo_aioseo_post_import_cursor
yoast/src/actions/importing/aioseo/aioseo-posts-importing-action.php 450
$cursor = \apply_filters( 'wpseo_aioseo_post_import_cursor', $cursor );

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

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