0

I show in frontend a custom table created as extending WP_List_Table as it follows.

add_action('init', array($this, 'frontendMyTable'));

   public function frontendMyTable()
    {
        if (!is_admin()) {
            require_once(ABSPATH . 'wp-admin/includes/class-wp-list-table.php');
            require_once(ABSPATH . 'wp-admin/includes/screen.php');
            require_once(ABSPATH . 'wp-admin/includes/class-wp-screen.php');
            require_once(ABSPATH . 'wp-admin/includes/template.php');

            global $hook_suffix;
            global $myTable;
            $myTable = new My_Lists();
        }
    }

And I would like to modify the html markup to use Bootstrap 4 stylesheets. What are the essential code parts where I can do that? Or is it possible to achieve this requirement?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.