Astra_Memory_Limit_Notice::add_memory_notice()
Add memory notice using Astra_Notices system
Description
Source
File: inc/class-astra-memory-limit-notice.php
	public function add_memory_notice() {
		$notice_data = $this->get_memory_notice_data();
		// Return if notice is not required.
		if ( ! isset( $notice_data['show_notice'] ) || ! $notice_data['show_notice'] ) {
			return;
		}
		// Add notice using Astra_Notices system.
		$this->display_memory_notice( $notice_data );
	}
			Expand full source code Collapse full source code View on Trac