LLMS_PlayNice::__construct()

Constructor


Return Return

(void)


Top ↑

Source Source

File: includes/class.llms.playnice.php

	public function __construct() {

		// Optimize press live editor initialization.
		add_action( 'op_liveeditor_init', array( $this, 'wp_optimizepress_live_editor' ) );

		// WPEngine heartbeat fix.
		add_filter( 'wpe_heartbeat_allowed_pages', array( $this, 'wpe_heartbeat_allowed_pages' ) );

		// BuddyBoss profile nav compatibility issue fix (the nav is set up at priority 6).
		add_action( 'bp_init', array( $this, 'buddyboss_compatibility' ), 5 );

		// Load other playnice things based on the presence of other plugins.
		add_action( 'init', array( $this, 'plugins_loaded' ), 11 );

	}

Top ↑

Changelog Changelog

Changelog
Version Description
6.8.0 Account for BuddyBoss compatibility issue.
3.31.0 Add plugins_loaded hook.
3.1.3 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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