documentation_ignore_functions
Filters the list of functions and classes to be ignored from the documentation lookup.
Usage
add_filter( 'documentation_ignore_functions', 'wp_kama_documentation_ignore_functions_filter' ); /** * Function for `documentation_ignore_functions` filter-hook. * * @param string[] $ignore_functions Array of names of functions and classes to be ignored. * * @return string[] */ function wp_kama_documentation_ignore_functions_filter( $ignore_functions ){ // filter... return $ignore_functions; }
- $ignore_functions(string[])
- Array of names of functions and classes to be ignored.
Changelog
Since 2.8.0 | Introduced. |
Where the hook is called
documentation_ignore_functions
wp-admin/includes/misc.php 672
$ignore_functions = apply_filters( 'documentation_ignore_functions', $ignore_functions );