WordPress.org

Ready to get started?Download WordPress

Codex

Attention Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Function Reference/capital P dangit

Description

Changes the incorrect capitalization of Wordpress into WordPress.

WordPress uses it to filter the content, the title and comment text.

Usage

 <?php capital_P_dangit$text ); ?> 

Parameters

text 
(string) The text to be formatted.

Removing

If you prefer not to use these filters, here's how you can remove them:

remove_filter( 'the_title', 'capital_P_dangit', 11 );
remove_filter( 'the_content', 'capital_P_dangit', 11 );
remove_filter( 'comment_text', 'capital_P_dangit', 31 );

Source File

capital_P_dangit() is located in wp-includes/formatting.php on line 3327.

References

This article is marked as in need of editing. You can help Codex by editing it.