X

Create New Item

File Folder

X

Search Results

File "CnbApiKeyRouter.php"

Full path: /usr/home/FixAGD/domains/dabrowagornicza.org.pl/public_html/wp-content/plugins/call-now-button/src/admin/api-key/CnbApiKeyRouter.php
File size: 469 B
MIME-type: text/x-php
Charset: utf-8

Download   Open   Edit   Advanced Edit   Back

<?php

namespace cnb\admin\apikey;

// don't load directly
defined( 'ABSPATH' ) || die( '-1' );

/**
 * Somewhat simple router, here to ensure we stay in line with the rest.
 *
 * Since APIKey creation is handled via admin-post, the only thing we do here is render the overview.
 */
class CnbApiKeyRouter {
    public function render() {
        do_action( 'cnb_init', __METHOD__ );
        ( new CnbApiKeyView() )->render();
        do_action( 'cnb_finish' );
    }
}