Definition:
function capital_P_dangit( $text ) {}
Parameters
- $text
Source code
function capital_P_dangit( $text ) {
// Simple replacement for titles
if ( 'the_title' === current_filter() )
return str_replace( 'Wordpress', 'WordPress', $text );
// Still here? Use the more judicious replacement
static $dblq = false;
if ( false === $dblq )
$dblq = _x('“', 'opening curly quote');
return str_replace(
array( ' WordPress', '‘WordPress', $dblq . 'Wordpress', '>Wordpress', '(WordPress' ),
array( ' WordPress', '‘WordPress', $dblq . 'WordPress', '>WordPress', '(WordPress' ),
$text );
}
583

February 11, 2011 


cancel_comment_reply_link
Definition:
function cancel_comment_reply_link($text = '') {}
Parameters
Source code
function cancel_comment_reply_link($text = '') { echo get_cancel_comment_reply_link($text); }581