LLMS_Install::create_visibilities()
Create default LifterLMS Product & Access Plan Visibility Options
Return Return
(void)
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; }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.8.0 | Unknown. |
3.6.0 | Introduced. |