MC4WP_Admin_Tools::get_plugin_page ()

Return: (string)

Source file: admin/class-admin-tools.php

View source


Uses


Source

    public function get_plugin_page() {
        if( empty( $_GET['page'] ) ) {
            return '';
        }

        $prefix = 'mailchimp-for-wp';
        $page = ltrim( substr( $_GET['page'], strlen( $prefix ) ), '-' );
        return $page;
    }


User Contributed Notes

You must log in before being able to contribute a note.