WordPress.org

Plugin Directory

Changeset 1277374


Ignore:
Timestamp:
11/01/15 22:24:17 (21 months ago)
Author:
nofearinc
Message:

Fix the add_options_page hook

File:
1 edited

Legend:

Unmodified
Added
Removed
  • dx-category-reports/trunk/dx-category-reports.php

    r1266211 r1277374  
    3939         
    4040        public function __construct() { 
    41             add_action( 'init', array( $this, 'register_options_page' ) ); 
     41            add_action( 'admin_menu', array( $this, 'register_options_page' ) ); 
    4242            add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_media' ) ); 
    4343        } 
Note: See TracChangeset for help on using the changeset viewer.