wphooks.info - documentation_ignore_functions

documentation_ignore_functions

(trunk - 5.0-alpha-42490)

The hook occurs in the following file:

wp-admin/includes/misc.php:
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
	$functions = array_unique( $functions );
	sort( $functions );

	/**
	 * Filters the list of functions and classes to be ignored from the documentation lookup.
	 *
	 * @since 2.8.0
	 *
	 * @param array $ignore_functions Functions and classes to be ignored.
	 */
	$ignore_functions = apply_filters( 'documentation_ignore_functions', $ignore_functions );

	$ignore_functions = array_unique( $ignore_functions );

	$out = array();
	foreach ( $functions as $function ) {
		if ( in_array( $function, $ignore_functions ) ) {
			continue;
		}
		$out[] = $function;