LLMS_Admin_Review::dismiss()

AJAX callback for dismissing the notice


Description Description


Return Return

(void)


Top ↑

Source Source

File: includes/admin/class-llms-admin-review.php

	public function dismiss() {

		$success = llms_parse_bool( filter_input( INPUT_POST, 'success', FILTER_SANITIZE_STRING ) );

		update_option( 'llms_review', array(
			'time'      => time(),
			'dismissed' => true,
			'success'   => $success ? 'yes' : 'no',
		) );

		die;

	}

Top ↑

Changelog Changelog

Changelog
Version Description
3.24.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

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





Permalink: