PluginProbe
CartFlows – Funnel Builder & Checkout Plugin for WooCommerce / 3.2.0
CartFlows – Funnel Builder & Checkout Plugin for WooCommerce v3.2.0
3.3.0 3.2.1 3.2.0 3.1.4 3.1.3 3.1.2 3.1.1 3.1.0 3.0.1 trunk 1.0.4 1.1.0 1.1.0.1 1.1.1 1.1.10 1.1.11 1.1.12 1.1.13 1.1.14 1.1.15 1.1.16 1.1.17 1.1.18 1.1.19 1.1.2 All 162 releases
cartflows / admin-legacy-core / api / api-base.php

api-base.php in CartFlows – Funnel Builder & Checkout Plugin for WooCommerce 3.2.0, at admin-legacy-core/api/api-base.php

43 lines 553 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * CartFlows Admin Menu.
4 *
5 * @package CartFlows
6 */
7
8 namespace CartflowsAdmin\AdminLegacyCore\Api;
9
10 // Exit if accessed directly.
11 if ( ! defined( 'ABSPATH' ) ) {
12 exit;
13 }
14
15 /**
16 * Class Admin_Menu.
17 */
18 abstract class ApiBase extends \WP_REST_Controller {
19
20 /**
21 * Endpoint namespace.
22 *
23 * @var string
24 */
25 protected $namespace = 'cartflows/v1';
26
27 /**
28 * Constructor
29 *
30 * @since 1.0.0
31 */
32 public function __construct() {
33 }
34
35 /**
36 * Register API routes.
37 */
38 public function get_api_namespace() {
39
40 return $this->namespace;
41 }
42 }
43