Warning: This method has been deprecated. LLMS_Admin_Notices_Core::check_staging() is deprecated in favor of LLMS_Staging::notice() instead.

LLMS_Admin_Notices_Core::check_staging()

Outputs a notice that allows users to enable or disable automated recurring payments


Description Description

Appears when we identify that the url has changed or when an admin resets the settings from the button on the general settings tab.


Top ↑

Return Return

(void)


Top ↑

Source Source

File: includes/admin/class.llms.admin.notices.core.php

		if ( ! apply_filters( 'llms_admin_notice_no_payment_gateways', llms()->payment_gateways()->has_gateways( true ) ) ) {
			$html  = __( 'No LifterLMS Payment Gateways are currently enabled. Students will only be able to enroll in courses or memberships with free access plans.', 'lifterlms' ) . '<br><br>';
			$html .= sprintf(
				__( 'For starters you can configure manual payments on the %1$sCheckout Settings tab%2$s. Be sure to check out all the available %3$sLifterLMS Payment Gateways%4$s and install one later so that you can start selling your courses and memberships.', 'lifterlms' ),

Top ↑

Changelog Changelog

Changelog
Version Description
4.12.0 LLMS_Admin_Notices_Core::check_staging() is deprecated in favor of LLMS_Staging::notice().
3.7.4 Automatically disable recurring payments when a clone is detected.
3.32.0 Moved logic for handling notice actions to LLMS_Staging::handle_staging_notice_actions().
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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