| @@ -71,8 +71,26 @@ | ||
| 71 | 71 | return (bool) $this->get_argument( 'save_button', true ); |
| 72 | 72 | } |
| 73 | 73 | |
| 74 | 74 | /** |
| 75 | + * Retrieves whether the tab hosts beta functionalities. | |
| 76 | + * | |
| 77 | + * @return bool True whether the tab hosts beta functionalities. | |
| 78 | + */ | |
| 79 | + public function is_beta() { | |
| 80 | + return (bool) $this->get_argument( 'beta', false ); | |
| 81 | + } | |
| 82 | + | |
| 83 | + /** | |
| 84 | + * Retrieves whether the tab hosts premium functionalities. | |
| 85 | + * | |
| 86 | + * @return bool True whether the tab hosts premium functionalities. | |
| 87 | + */ | |
| 88 | + public function is_premium() { | |
| 89 | + return (bool) $this->get_argument( 'premium', false ); | |
| 90 | + } | |
| 91 | + | |
| 92 | + /** | |
| 75 | 93 | * Gets the option group. |
| 76 | 94 | * |
| 77 | 95 | * @return string The option group. |
| 78 | 96 | */ |