apply_filters( "lifterlms_get_{$page}_page_id", int|string $id )
Filter the ID of the requested LifterLMS Page
Description Description
The dynamic portion of this filter, {$page}, refers to the LifterLMS page slug/name.
Note that, historically, the course catalog was called the "shop" and therefore when requesting the filter will be "lifterlms_get_shop_page_id" instead of "lifterlms_get_courses_page_id".
Parameters Parameters
- $id
-
The WP_Post ID of the requested page or an empty string if the page doesn't exist.
Source Source
File: includes/functions/llms.functions.page.php
Changelog Changelog
Version | Description |
---|---|
1.0.0 | Introduced. |