rand_number === null){ $this->rand_number = random_int(999, 99999); } } public static function init(){ return new self(); } /** * admin_form_submit_button * this method will add a submit button for widget in admin panel * @since 1.0.0 */ public function language_tab(): string { $all_languages = LanguageHelper::all_languages(); $output = ''; return $output; } /** * admin_language_tab_start * this method will add language tab content start wrapper * @since 1.0.0 * */ public function language_tab_start() : string { return '
'; } /** * admin_language_tab_end * this method will add language tab content end wrapper * @since 1.0.0 * */ public function language_tab_end() : string { return '
'; } /** * admin_language_tab_content_start * this method will add language tab panel start * @since 1.0.0 * */ public function language_tab_content_start($args): string { return '
'; } /** * admin_language_tab_content_end * this method will add language tab panel end * @since 1.0.0 * */ public function language_tab_content_end() : string { return '
'; } }