get( App_Service_Provider::SHOULD_ENQUEUE_SETUP_WIZARD ); return is_callable( $should_enqueue ) ? $should_enqueue() : $should_enqueue; } public function data() { return array( 'components' => array( 'setup_wizard' => array( 'endpoints' => array( License_Check_Endpoint::ACTION_NAME => array( 'action' => array( 'value' => License_Check_Endpoint::ACTION_NAME, 'default' => 'mock_endpoint', ), 'nonce' => array( 'value' => wp_create_nonce( License_Check_Endpoint::ACTION_NAME ), 'default' => 'nonce', ), ), ), ), ), ); } }