MC4WP_Admin_Tools::is_user_authorized ()

Does the logged-in user have the required capability?

Return: (bool)

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

View source


Used by


Source

    public function is_user_authorized() {
        return current_user_can( $this->get_required_capability() );
    }


User Contributed Notes

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