Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?php
/**
* Unique Title Checker Errors Only
*
* @package unique-title-checker
* @author Bernhard Kau
* @license GPLv3
*
* @wordpress-plugin
* Plugin Name: Unique Title Checker Errors Only
* Plugin URI: https://github.com/2ndkauboy/unique-title-checker
* Description: Only show the error message for non-unique titles, but not success messages
* Version: 1.0.0
* Author: Bernhard Kau
* Author URI: http://kau-boys.de
* Text Domain: unique-title-checker
* License: GPLv3
* License URI: http://www.gnu.org/licenses/gpl-3.0
*/
add_filter( 'unique_title_checker_only_unique_error', '__return_true' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.