apply_filters( "lifterlms_register_post_type_{$unprefixed_name}", array $data )
Modify post type registration arguments of a LifterLMS custom post type.
Description Description
The dynamic portion of this hook refers to the post type’s name with the llms_
prefix removed (if it exist). For example, to modify the arguments for the membership post type (llms_membership
) the full hook would be "lifterlms_register_post_type_membership".
Parameters Parameters
- $data
-
(array) Post type registration arguments passed to
register_post_type()
.
Source Source
Changelog Changelog
Version | Description |
---|---|
3.13.0 | Introduced. |