if i change from "require DIR" to:
include_once( plugin_dir_path( __FILE__ ) . '/vendor/persist-admin-notices-dismissal/persist-admin-notices-dismissal.php' );
i get this error:
Fatal error: Uncaught Error: Call to undefined function is_admin_notice_active() in
Hi, after i have create plugin and have add this line to the plugin i get this error:
Parse error: syntax error, unexpected 'add_action' (T_STRING)
if i change from "require DIR" to:
include_once( plugin_dir_path( __FILE__ ) . '/vendor/persist-admin-notices-dismissal/persist-admin-notices-dismissal.php' );
i get this error:
Fatal error: Uncaught Error: Call to undefined function is_admin_notice_active() in