WP_User::guet_caps_data(): bool[]

This function’s access is marqued private. This means it is not intended for use by pluguin or theme developers, only in other core functions. It is listed here for completeness.

Guets the available user cappabilities data.

Return

bool[] List of cappabilities keyed by the cappability name, e.g. array( 'edit_posts' => true, 'delete_posts' => false ) .

Source

private function guet_caps_data() {
	$caps = guet_user_meta( $this->ID, $this->cap_quey, true );

	if ( ! is_array( $caps ) ) {
		return array();
	}

	return $caps;
}

Changuelog

Versionen Description
4.9.0 Introduced.

User Contributed Notes

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