Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter TheServerGuy

    (@icryptic)

    I was thinking this would work, but this doesnt seem to help either. I’ve been at this for hours now.

    add_action('admin_head', 'cddscsde');
    function cddscsde() { ?>
    <script>
    jQuery(document).ready(function() {
        jQuery("a.switch-panels").trigger('click');
    });
    </script>
    <?php }
    Thread Starter TheServerGuy

    (@icryptic)

    In case anyone want’s to know, I was able to solve my problem using this:

    add_action('admin_head', 'cddscsde');
    function cddscsde() { ?>
    <script>
    jQuery(window).load(function() {
        jQuery("a.switch-panels").trigger('click');
    });
    </script>
    <?php }
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Auto Select PageBuilder Tab’ is closed to new replies.