• Hi,
    You are loading 3 assets from Cloudways

    			
    wp_enqueue_style( 'wn-plugin-dashboard', "https://wordpress-475011-1491998.cloudwaysapps.com/wn-dashboard.css", array() );
    			wp_enqueue_script( 'wn-plugin-dashboard', "https://wordpress-475011-1491998.cloudwaysapps.com/wn-dashboard.js", array( 'jquery' ), time(), false );
    

    and

    
    if( ! $menuExist ) {
                if( class_exists( 'WN_DASHBOARD_Page' ) ) {
                    $obj_dashboard = new WN_DASHBOARD_Page();
                    add_menu_page( __( 'WooNinjas', 'cs_ld_addon' ), __( 'WooNinjas', 'cs_ld_addon' ), 'manage_options', 'wooninjas-dashboard', [ $obj_dashboard, 'dashboard_page' ], 'https://wordpress-475011-1491998.cloudwaysapps.com/wn_dashboard_icon.png' );
                    add_submenu_page( 'wooninjas-dashboard', __( 'Dashboard', 'cs_ld_addon' ), __( 'Dashboard', 'cs_ld_addon' ), 'manage_options', 'wooninjas-dashboard', [ $obj_dashboard, 'dashboard_page' ] );
                }

    `
    these should be local to the plugin, no?

    • This topic was modified 3 years, 4 months ago by neilgee.
  • The topic ‘Remote Assets on Cloudways’ is closed to new replies.