wphooks.info - wp_dropdown_cats

wp_dropdown_cats

(trunk - 5.1-alpha-44286)

The hook occurs in the following file:

wp-includes/category-template.php:
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
		$output .= "</select>\n";
	}
	/**
	 * Filters the taxonomy drop-down output.
	 *
	 * @since 2.1.0
	 *
	 * @param string $output HTML output.
	 * @param array  $r      Arguments used to build the drop-down.
	 */
	$output = apply_filters( 'wp_dropdown_cats', $output, $r );

	if ( $r['echo'] ) {
		echo $output;
	}
	return $output;
}

/**
 * Display or retrieve the HTML list of categories.