acf/validate_options_page
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/validate_options_page
acf/pro/options-page.php 119
return apply_filters( 'acf/validate_options_page', $page );