LLMS_Install::create_visibilities()

Create default LifterLMS Product & Access Plan Visibility Options


Return Return

(void)


Top ↑

Source Source

File: includes/class.llms.install.php

		 *
		 * @since 3.0.0
		 *
		 * {@see `llms_install_get_pages} filter hook.
		 *
		 * @param array $pages A multidimensional array defining the essential starter pages to be installed.
		 */
		$pages = apply_filters( 'llms_install_create_pages', self::get_pages() );
		foreach ( $pages as $page ) {
			if ( ! llms_create_page( $page['slug'], $page['title'], $page['content'], $page['option'] ) ) {
				return false;
			}


Top ↑

Changelog Changelog

Changelog
Version Description
3.8.0 Unknown.
3.6.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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