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.


Top ↑

Parameters Parameters

$pages

(array) (Required) List of pages that the heartbeat is allowed to load on.


Top ↑

Return Return

(array)


Top ↑

Source Source

File: includes/class.llms.playnice.php

	public function wpe_heartbeat_allowed_pages( $pages ) {

		if ( is_admin() && isset( $_GET['page'] ) && 'llms-course-builder' === $_GET['page'] ) {

			$pages[] = 'admin.php';

		}

		return $pages;

	}

Top ↑

Changelog Changelog

Changelog
Version Description
3.16.4 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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