1.0.0 * @access public */ public function admin_notice_minimum_php_version() { deactivate_plugins( plugin_basename( ELEMENTOR_AWESOMESAUCE ) ); return sprintf( wp_kses( '

"%1$s" requires "%2$s" version %3$s or greater.

', array( 'div' => array( 'class' => array(), 'p' => array(), 'strong' => array(), ), ) ), 'Listeo Elementor', 'Elementor', self::MINIMUM_ELEMENTOR_VERSION ); } } // Instantiate Elementor_Awesomesauce. new Elementor_Listeo();, static function () use ( $container ) { $endpoint = $container->get( 'button.endpoint.change-cart' ); /** * The Change Cart Endpoint. * * @var ChangeCartEndpoint $endpoint */ $endpoint->handle_request(); } ); add_action( 'wc_ajax_' . ApproveOrderEndpoint::ENDPOINT, static function () use ( $container ) { $endpoint = $container->get( 'button.endpoint.approve-order' ); /** * The Approve Order Endpoint. * * @var ApproveOrderEndpoint $endpoint */ $endpoint->handle_request(); } ); add_action( 'wc_ajax_' . ApproveSubscriptionEndpoint::ENDPOINT, static function () use ( $container ) { $endpoint = $container->get( 'button.endpoint.approve-subscription' ); assert( $endpoint instanceof ApproveSubscriptionEndpoint ); $endpoint->handle_request(); } ); add_action( 'wc_ajax_' . CreateOrderEndpoint::ENDPOINT, static function () use ( $container ) { $endpoint = $container->get( 'button.endpoint.create-order' ); /** * The Create Order Endpoint. * * @var CreateOrderEndpoint $endpoint */ $endpoint->handle_request(); } ); add_action( 'wc_ajax_' . SaveCheckoutFormEndpoint::ENDPOINT, static function () use ( $container ) { $endpoint = $container->get( 'button.endpoint.save-checkout-form' ); assert( $endpoint instanceof SaveCheckoutFormEndpoint ); $endpoint->handle_request(); } ); add_action( 'wc_ajax_' . ValidateCheckoutEndpoint::ENDPOINT, static function () use ( $container ) { $endpoint = $container->get( 'button.endpoint.validate-checkout' ); assert( $endpoint instanceof ValidateCheckoutEndpoint ); $endpoint->handle_request(); } ); add_action( 'wc_ajax_' . CartScriptParamsEndpoint::ENDPOINT, static function () use ( $container ) { $endpoint = $container->get( 'button.endpoint.cart-script-params' ); assert( $endpoint instanceof CartScriptParamsEndpoint ); $endpoint->handle_request(); } ); } }