Plugin Directory

Changeset 2275769


Ignore:
Timestamp:
04/04/2020 10:48:57 AM (6 years ago)
Author:
softbranchtech
Message:
  • fixed css issue and remove unnecessary files
Location:
wp-inbox/trunk
Files:
3 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • wp-inbox/trunk/wp-inbox.php

    r2269760 r2275769  
    2929
    3030add_action('plugins_loaded', 'inboxWebmail_pluginLoaded');
    31 add_action('admin_enqueue_scripts', 'inboxWebmail_load_admin_style');
    3231
    33 add_action('wp_head', 'inboxWebmail_email_parser_cron');
     32$inboxWebmail_page = isset($_GET['page']) ? sanitize_text_field($_GET['page']) : '';
     33if($inboxWebmail_page=='inboxWebmail'){
     34    add_action('admin_enqueue_scripts', 'inboxWebmail_load_admin_style');
     35}
    3436
    3537/**
     
    7375            $dir = 'controller';
    7476            break;
    75         case 'Plugin':
    76             $dir = 'plugin';
    77             break;
    7877        default:
    7978            return;
Note: See TracChangeset for help on using the changeset viewer.