Carbon_Fields\Container\User_Meta_Container::is_valid_attach PHP 메소드

is_valid_attach() 공개 메소드

Perform checks whether the container should be attached during the current request
public is_valid_attach ( ) : boolean
리턴 boolean True if the container is allowed to be attached
    public function is_valid_attach()
    {
        if (!current_user_can('edit_users') || !$this->is_profile_page()) {
            return false;
        }
        return true;
    }