*/ class UsersWP_Form_Builder { public static function output($tab = '') { global $current_tab; do_action( 'uwp_form_builder_start' ); // Get current tab/section if($tab){ $current_tab = sanitize_title( $tab); }else{ $current_tab = empty( $_GET['tab'] ) ? 'account' : sanitize_title( $_GET['tab'] ); } // Get tabs for the form builder page $tabs = apply_filters( 'uwp_form_builder_tabs_array', array( 'account' => __( 'Account', 'userswp' ), 'register' => __( 'Register', 'userswp' ), ) ); ?>