learndash_quiz_import_post_keys

apply_filters( 'learndash_quiz_import_post_keys',  array $post_export_keys )

Filters list of post keys to be imported.


Description #


Parameters #

$post_export_keys

(array) An array of post import keys.


Source #

File: includes/lib/wp-pro-quiz/lib/helper/WpProQuiz_Helper_Import.php


Examples #

 <?php
/**
 * Example usage for learndash_quiz_import_post_keys filter.
 */
add_filter(
	'learndash_quiz_import_post_keys',
	function( $post_import_keys = array() ) {
		// Here added/remove any post keys for the import.

		// Always return $post_import_keys
		return $post_import_keys;
	},
	30,
	1
);