first commit

This commit is contained in:
Ryan Ariana
2024-05-06 11:04:37 +07:00
commit aee061ddba
7322 changed files with 2918816 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
<?php
namespace ElementorPro\Modules\Woocommerce\Data\Endpoints;
use Elementor\Data\Base\Endpoint;
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
class Base_Endpoint extends Endpoint {
const IS_CART_NOTICE_DISMISSED = 'is_custom_wc_cart_notice_dismissed';
public function get_name() : string {}
public function get_route() : string {
return $this->get_name();
}
protected function permission_callback(): bool {
return current_user_can( 'edit_posts' );
}
}