Changeset 1982179
- Timestamp:
- 11/28/2018 06:58:36 PM (7 years ago)
- File:
-
- 1 edited
-
permalinks-shortcode/trunk/plksc.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
permalinks-shortcode/trunk/plksc.php
r1982160 r1982179 41 41 */ 42 42 function __construct() { 43 add_action( 'admin_menu', array( $this, 'admin_menu' ) );44 self::init();43 add_action( 'admin_menu', array( $this, 'admin_menu' ), 10, 2 ); 44 plksc::init(); 45 45 } 46 46 … … 69 69 70 70 71 self::plksc_languages();71 plksc::plksc_languages(); 72 72 73 73 /** … … 104 104 } 105 105 106 self::shortcode_generator();106 plksc::shortcode_generator(); 107 107 108 108 } … … 123 123 */ 124 124 public static function admin_menu() { 125 /*126 125 add_options_page( 127 126 'Permalink shortcode', … … 133 132 'settings_page' 134 133 ) 135 );136 */137 add_options_page(138 'Permalink shortcode',139 'Permalink shortcode',140 'manage_options',141 'options_permalink_shortcode',142 'settings_page'143 134 ); 144 135 }
Note: See TracChangeset
for help on using the changeset viewer.