extra_tablenav example

wp_nonce_field( 'bulk-' . $this->_args['plural'] );
        }
        ?> <div class="tablenav <?php echo esc_attr( $which ); ?>"> <?php if ( $this->has_items() ) : ?> <div class="alignleft actions bulkactions"> <?php $this->bulk_actions( $which ); ?> </div> <?php         endif;
        $this->extra_tablenav( $which );
        $this->pagination( $which );
        ?> <br class="clear" /> </div> <?php     }

    /** * Displays extra controls between bulk actions and pagination. * * @since 3.1.0 * * @param string $which */
<?php                     if ( ! empty( $views ) ) {
                        foreach ( $views as $class => $view ) {
                            echo "\t$view\n";
                        }
                    }
                    ?> </select> <?php                 $this->extra_tablenav( 'bar' );

                /** This filter is documented in wp-admin/inclues/class-wp-list-table.php */
                $views = apply_filters( "views_{$this->screen->id}", array() );

                // Back compat for pre-4.0 view links.                 if ( ! empty( $views ) ) {
                    echo '<ul class="filter-links">';
                    foreach ( $views as $class => $view ) {
                        echo "<li class='$class'>$view</li>";
                    }
                    echo '</ul>';
                }
?> <div class="tablenav <?php echo esc_attr( $which ); ?>"> <?php if ( 'bottom' === $which ) : ?> <div class="alignright"> <button type="button" name="revoke-all-application-passwords" id="revoke-all-application-passwords" class="button delete"><?php _e( 'Revoke all application passwords' ); ?></button> </div> <?php endif; ?> <div class="alignleft actions bulkactions"> <?php $this->bulk_actions( $which ); ?> </div> <?php             $this->extra_tablenav( $which );
            $this->pagination( $which );
            ?> <br class="clear" /> </div> <?php     }

    /** * Generates content for a single row of the table. * * @since 5.6.0 * * @param array $item The current item. */
Home | Imprint | This part of the site doesn't use cookies.