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".


Top ↑

Parameters Parameters

$data

(array) Post type registration arguments passed to register_post_type().


Top ↑

Source Source

File: includes/class.llms.post-types.php

View on GitHub



Top ↑

Changelog Changelog

Changelog
Version Description
3.13.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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