LLMS_Blocks_Course_Information_Block::meta_auth_callback( bool $allowed, string $meta_key, int $object_id, int $user_id, string $cap, array $caps )

Meta field update authorization callback.


Description Description


Parameters Parameters

$allowed

(bool) (Required) Is the update allowed.

$meta_key

(string) (Required) Meta keyname.

$object_id

(int) (Required) WP Object ID (post,comment,etc)...

$user_id

(int) (Required) WP User ID.

$cap

(string) (Required) requested capability.

$caps

(array) (Required) user capabilities.


Top ↑

Return Return

(bool)


Top ↑

Source Source

File: libraries/lifterlms-blocks/includes/blocks/class-llms-blocks-course-information-block.php



Top ↑

Changelog Changelog

Changelog
Version Description
1.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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