Closed wpexplorer closed 6 years ago
Anyway to use append_to_frontend_error_messages during the "pt-ocdi/after_import" hook?
Thanks!!
Hi,
you can use it like this:
$ocdi = OCDI\OneClickDemoImport::get_instance(); $ocdi->append_to_frontend_error_messages( "this is the error, we want to output on the import page!" );
Take care!
Anyway to use append_to_frontend_error_messages during the "pt-ocdi/after_import" hook?
Thanks!!