Inventory_Presser_Admin_Settings_Suggester::output_upload_folder_error_html()

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


Return Return

(void)


Top ↑

Source Source

File: includes/admin/class-admin-settings-suggester.php

	public 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'
		);
	}