LLMS_PlayNice::wpe_heartbeat_allowed_pages( array $pages )
WPE blocks the WordPress Heartbeat script from being loaded
Description Description
Event when it’s explicitly defined as a dependency.
Parameters Parameters
- $pages
-
(array) (Required) List of pages that the heartbeat is allowed to load on.
Return Return
(array)
Source Source
File: includes/class.llms.playnice.php
181 182 183 184 185 186 187 188 189 190 191 | public function wpe_heartbeat_allowed_pages( $pages ) { if ( is_admin() && isset( $_GET [ 'page' ] ) && 'llms-course-builder' === $_GET [ 'page' ] ) { $pages [] = 'admin.php' ; } return $pages ; } |
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.16.4 | Introduced. |