LLMS_Integration_BBPress::add_membership_restrictions( string[] $post_types )

Add the membership restrictions metabox to bbPress forums on admin panel

Parameters Parameters


(string[]) (Required) Array of existing post types.

Top ↑

Return Return


Top ↑

Source Source

File: includes/integrations/class.llms.integration.bbpress.php

	public function add_membership_restrictions( $post_types ) {
		$post_types[] = bbp_get_forum_post_type();
		return $post_types;

Top ↑

Changelog Changelog

Version Description
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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