PluginProbe
BerqWP – All-In-One Optimization for Core Web Vitals, Cache, CDN, Images, CSS & JavaScript / 4.0.30
BerqWP – All-In-One Optimization for Core Web Vitals, Cache, CDN, Images, CSS & JavaScript v4.0.30
4.1.16 4.1.15 4.1.14 4.1.13 4.1.12 4.1.11 4.1.10 4.0.30 4.0.29 4.0.28 4.0.27 4.0.26 4.0.24 4.0.25 4.0.23 4.0.22 4.0.21 4.0.19 4.0.18 4.0.17 4.0.16 1.9.3 1.9.4 1.9.5 1.9.6 All 170 releases
searchpro / api / register_apis.php

register_apis.php in BerqWP – All-In-One Optimization for Core Web Vitals, Cache, CDN, Images, CSS & JavaScript 4.0.30, at api/register_apis.php

36 lines 970 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 if (!defined('ABSPATH')) exit;
3
4 add_action('rest_api_init', function () {
5
6 // register_rest_route(
7 // 'optifer/v1',
8 // '/clear-cache',
9 // array(
10 // 'methods' => 'POST',
11 // 'callback' => [$this, 'clear_cache'],
12 // 'permission_callback' => 'berq_rest_permission_callback',
13 // )
14 // );
15
16 // register_rest_route(
17 // 'optifer/v1',
18 // '/store-cache',
19 // array(
20 // 'methods' => 'POST',
21 // 'callback' => [$this, 'store_cache'],
22 // 'permission_callback' => 'berq_rest_verify_license_callback',
23 // )
24 // );
25
26 // register_rest_route(
27 // 'optifer/v1',
28 // '/store-javascript-cache',
29 // array(
30 // 'methods' => 'POST',
31 // 'callback' => [$this, 'store_javascript_cache'],
32 // 'permission_callback' => 'berq_rest_verify_license_callback',
33 // )
34 // );
35
36 });