__( 'Untitled', 'aus' ), )); } } /** * Update Version Number * * @return void */ function uebns_activation(){ update_option('uebns_plugin_version', UEBNS_VERSION); } // Display any errors function uebns_admin_notice_handler() { $errors = get_option('my_admin_errors'); if($errors) { echo '

' . $errors . '

'; } } add_action( 'admin_notices', 'uebns_admin_notice_handler' ); // Clear any errors function uebns_clear_errors() { update_option('my_admin_errors', false); } add_action( 'admin_footer', 'uebns_clear_errors' );