wordpress - Modifying admin post list buttons/dropdown -
i've created own custom post type search filter , instead of having menu want append select options default woocommerce status filter dropdown select. also want change both filter , search orders buttons text go . here how add own dropdown select instead want append. add_action( 'restrict_manage_posts', 'wpse45436_admin_posts_filter_restrict_manage_posts' ); function wpse45436_admin_posts_filter_restrict_manage_posts(){ $type = 'shop_order'; if (isset($_get['post_type'])) { $type = $_get['post_type']; } //only add filter post type want if ('shop_order' == $type){ //change list of values want show //in 'label' => 'value' format $values = array( 'ordered supplier' => 'ordered_supplier', 'ready dispatch' => 'ready_dispatched', 'despatched' => 'despatched', ...