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)
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>.', esc_html__( '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' ), esc_html__( 'here', 'inventory-presser' ) ), 'yellow' ); }
Expand full source codeCollapse full source codeView on Github