wpdb = $wpdb; $this->table_name = $afbt_table_name = $this->wpdb->prefix . 'affiliate_boost'; $this->table_name2 = $afbt_table_name2 = $this->wpdb->prefix . 'affiliate_boost_website'; $this->posts = $afbt_table_name3 = $this->wpdb->prefix . 'posts'; } public function afbt_AddAdminPage() { $abOptionsPage = add_submenu_page('options-general.php','Affiliate Booster','Affiliate Booster','manage_options','affiliate-boost-options',array(&$this, 'afbtGetOptionsScreen')); $abStylePage = add_submenu_page('affiliate-boost-options','Style Editor','Style','manage_options','affiliate-boost-style',array(&$this, 'afbtGetOptionsScreen')); } public function afbtGetOptionsScreen() { // Settings navigation tabs if( isset( $_GET[ 'tab' ] ) || !isset($_GET['tab'])) { $active_tab = isset( $_GET[ 'tab' ] ) ? sanitize_text_field($_GET[ 'tab' ]) : 'affiliate_retrieval_section'; } $afbtRetrieveLink = admin_url() . 'admin.php?page=affiliate-boost-options&tab=affiliate_retrieval_section'; $afbtTestsLink = admin_url() . 'admin.php?page=affiliate-boost-options&tab=affiliate_style'; echo '
| S.No. | Website Page Link | Action |
|---|