render_screen_layout example

// Don't output the form and nonce for the widgets accessibility mode links.         if ( 'widgets' !== $this->base ) {
            $form_start = "\n<form id='adv-settings' method='post'>\n";
            $form_end   = "\n" . wp_nonce_field( 'screen-options-nonce', 'screenoptionnonce', false, false ) . "\n</form>\n";
        }

        echo $wrapper_start . $form_start;

        $this->render_meta_boxes_preferences();
        $this->render_list_table_columns_preferences();
        $this->render_screen_layout();
        $this->render_per_page_options();
        $this->render_view_mode();
        echo $this->_screen_settings;

        /** * Filters whether to show the Screen Options submit button. * * @since 4.4.0 * * @param bool $show_button Whether to show Screen Options submit button. * Default false. * @param WP_Screen $screen Current WP_Screen instance. */

function screen_layout( $screen ) {
    _deprecated_function( __FUNCTION__, '3.3.0', '$current_screen->render_screen_layout()' );

    $current_screen = get_current_screen();

    if ( ! $current_screen )
        return '';

    ob_start();
    $current_screen->render_screen_layout();
    return ob_get_clean();
}

/** * Returns the screen's per-page options. * * @since 2.8.0 * @deprecated 3.3.0 Use WP_Screen::render_per_page_options() * @see WP_Screen::render_per_page_options() */
function screen_options( $screen ) {
    
Home | Imprint | This part of the site doesn't use cookies.