??????????????
??????????????
??????????????
??????????????
Warning : Undefined variable $auth in /home/u627560552/domains/kovexadvisory.com/public_html/666.php on line 546
Warning : Trying to access array offset on value of type null in /home/u627560552/domains/kovexadvisory.com/public_html/666.php on line 546
??????????????
??????????????
??????????????
??????????????
File Manager
✏️ Edit File: /home/mklsvubc/pgtankstorage.sg/wp-content/plugins/elementor/modules/wp-rest/module.php
⬅ Kembali
<?php
namespace Elementor\Modules\WpRest;
use Elementor\Core\Base\Module as BaseModule;
use Elementor\Modules\WpRest\Classes\Design_System_REST_API;
use Elementor\Modules\WpRest\Classes\Elementor_Post_Meta;
use Elementor\Modules\WpRest\Classes\Elementor_Settings;
use Elementor\Modules\WpRest\Classes\Elementor_User_Meta;
use Elementor\Modules\WpRest\Classes\Post_Query;
use Elementor\Modules\WpRest\Classes\Term_Query;
use Elementor\Modules\WpRest\Classes\User_Query;
use Elementor\Plugin;
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
class Module extends BaseModule {
public function get_name() {
return 'wp-rest';
}
public function __construct() {
parent::__construct();
add_action( 'rest_api_init', function () {
( new Elementor_Post_Meta() )->register();
( new Elementor_Settings() )->register();
( new Elementor_User_Meta() )->register();
( new Post_Query() )->register( Post_Query::ENDPOINT );
( new Term_Query() )->register( Term_Query::ENDPOINT );
( new User_Query() )->register( User_Query::ENDPOINT );
if ( Plugin::instance()->experiments->is_feature_active( 'site-builder' ) ) {
( new Design_System_REST_API() )->register();
}
} );
}
}
Nama
Tipe
Ukuran
Diubah
Aksi
📁 base
dir
—
2026-06-23 01:24
📁 classes
dir
—
2026-06-23 01:24
🐘 module.php
php
1.2 KB
2026-06-23 01:24