Plugin Directory

Changeset 1354812


Ignore:
Timestamp:
02/20/2016 05:16:08 PM (10 years ago)
Author:
derekheld
Message:

Properly enqueue style sheet for settings page

File:
1 edited

Legend:

Unmodified
Added
Removed
  • blue-storage/trunk/blue-storage.php

    r1354792 r1354812  
    8989        return array_merge($tabs, $newtab);
    9090    }
     91}
     92
     93// Style sheet used on plugin settings page
     94add_action( 'admin_enqueue_scripts', 'add_settings_stylesheet' );
     95function add_settings_stylesheet( $page ) {
     96    wp_enqueue_style( 'prefix-style', plugins_url('css/blue-storage.css', __FILE__) );
    9197}
    9298
Note: See TracChangeset for help on using the changeset viewer.