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


Top ↑

Parameters Parameters

$id

(int|string) The WP_Post ID of the requested page or an empty string if the page doesn't exist.


Top ↑

Source Source

File: includes/functions/llms.functions.page.php

View on GitHub



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.