Inventory_Presser_Settings_Suggester::output_upload_folder_error_html()

output_upload_folder_error_html


Description Description

Outputs an admin notice to warn the user if uploads are saved in month- and year-based folders.


Top ↑

Return Return

(void)


Top ↑

Source Source

File: includes/class-settings-suggester.php

	function output_upload_folder_error_html()
	{
		echo $this->get_admin_notice_html(
			sprintf( 
				'%s <a href="options-media.php">%s</a>.',
				__( 'Your media settings are configured to organize uploads into month- and year-based folders. This is not optimal for Inventory Presser, and you can turn this setting off ', 'inventory-presser' ),
				__( 'here', 'inventory-presser' )
			),
			'yellow'
		);
	}