• themefour wp

    (@masouddarvishi1992)


    Hi. I want to add a style file to the editor with your hook, but it doesn’t work. Why?

    function brizy_pro_scripts_rtl() {

    if ( isset( $_GET['action'] ) && $_GET['action'] === 'in-front-editor' ) {

    wp_enqueue_style(
    'brizy-pro-frontend-rtl', //
    TF_BRIZY_ASSETS . 'css/brizy-pro-frontend.min.css', //
    array(), //
    '1.0', //
    'all' //
    );
    }
    }

    add_action( 'admin_action_in-front-editor', 'brizy_pro_scripts_rtl', 9999 );
Viewing 1 replies (of 1 total)
  • Thread Starter themefour wp

    (@masouddarvishi1992)

    What kind of support is this? I haven’t received a response after 3 months! You don’t answer users’ questions?

Viewing 1 replies (of 1 total)

The topic ‘add style file’ is closed to new replies.