diff --git a/select/taxonomy-dropdown-custom-control.php b/select/taxonomy-dropdown-custom-control.php index 8833d43..78df8ac 100644 --- a/select/taxonomy-dropdown-custom-control.php +++ b/select/taxonomy-dropdown-custom-control.php @@ -27,8 +27,8 @@ public function __construct($manager, $id, $args = array(), $options = array()) */ public function render_content() { - // call wp_dropdown_cats to get data and add to select field - add_action( 'wp_dropdown_cats', array( $this, 'wp_dropdown_cats' ) ); + // call wp_dropdown_categories to get data and add to select field + add_action( 'wp_dropdown_categories', array( $this, 'wp_dropdown_categories' ) ); // Set defaults $this->defaults = array( @@ -59,11 +59,11 @@ public function render_content() * @since 11/14/2012 * @return String $output */ - public function wp_dropdown_cats( $output ) + public function wp_dropdown_categories( $output ) { $output = str_replace( 'get_link(), $output ); return $output; } } -?> \ No newline at end of file +?>