public function __construct($handle) { self::$pagehook = add_submenu_page($handle, __('Episode Assets', 'podlove'), __('Episode Assets', 'podlove'), 'administrator', 'podlove_episode_assets_settings_handle', array($this, 'page')); $this->init_page_documentation(self::$pagehook); add_action('admin_init', array($this, 'process_form')); register_setting(EpisodeAsset::$pagehook, 'podlove_asset_assignment'); }
public function __construct($handle) { self::$pagehook = add_submenu_page($handle, __('Episode Assets', 'podlove'), __('Episode Assets', 'podlove'), 'administrator', 'podlove_episode_assets_settings_handle', array($this, 'page')); add_action('admin_init', array($this, 'process_form')); }