http://sho.rt/hello-world) Version: 1.0 Author: Ozh Author URI: http://ozh.org/ */ // No direct call if( !defined( 'YOURLS_ABSPATH' ) ) die(); yourls_add_filter( 'get_shorturl_charset', 'ozh_hyphen_in_charset' ); function ozh_hyphen_in_charset( $in ) { return $in.'-'; }