acf/validate_options_page filter-hookACF 5.5.8

Filters the $page array after it has been validated.

Usage

add_filter( 'acf/validate_options_page', 'wp_kama_acf_validate_options_page_filter' );

/**
 * Function for `acf/validate_options_page` filter-hook.
 * 
 * @param array $page The Options Page settings array.
 *
 * @return array
 */
function wp_kama_acf_validate_options_page_filter( $page ){
	// filter...
	return $page;
}
$page(array)
The Options Page settings array.

Changelog

Since 5.5.8 Introduced.

Where the hook is called

acf_options_page::validate_page()
acf/validate_options_page
acf/pro/options-page.php 119
return apply_filters( 'acf/validate_options_page', $page );

Where the hook is used in Advanced Custom Fields PRO

Usage not found.