Registration_Page::enable_registration_notice()

Summary

No summary available.

Return

(void)


Source

File: src/BigCommerce/Pages/Registration_Page.php

	public function enable_registration_notice() {
		if ( get_option( 'users_can_register' ) ) {
			return;
		}
		printf(
			'<p class="description">%s</p>',
			sprintf(
				esc_html( __( 'To enable this page feature, please go to %sGeneral Settings%s and check the box by "Anyone can register"', 'bigcommerce' ) ),
				sprintf( '<a href="%s">', esc_url( admin_url( 'options-general.php' ) ) ),
				'</a>'
				
			)
		);
	}

User Contributed Notes

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