*/ class Activator { /** * Short Description. (use period) * * Long Description. * * @since 1.0.2 */ public static function activate() { set_transient( '_welcome_redirect_tableberg', true, 60 ); $individual_control = get_option( 'tableberg_individual_control', false ); $block_properties = get_option( 'tableberg_block_properties', false ); $global_control = get_option( 'tableberg_global_control', false ); if ( ! $global_control ) { update_option( 'tableberg_global_control', Utils::global_control() ); } if ( ! $individual_control ) { update_option( 'tableberg_individual_control', Utils::individual_control() ); } if ( ! $block_properties ) { update_option( 'tableberg_block_properties', Utils::default_block_properties() ); } if ( ! get_option( 'tableberg_version' ) ) { add_option( 'tableberg_version', Constants::plugin_version() ); } } }