Emoji: Rename the email and feed filter functions to be _ prefixed, and @ignore-d in the PHPDocs.

See #31242



git-svn-id: https://develop.svn.wordpress.org/trunk@31791 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Gary Pendergast
2015-03-16 10:45:29 +00:00
parent 47c69c3207
commit 2b3cfead22
3 changed files with 21 additions and 18 deletions

View File

@@ -4192,12 +4192,13 @@ function wp_staticize_emoji( $text ) {
/**
* Convert emoji in emails into static images.
*
* @ignore
* @since 4.2.0
*
* @param array $mail The email data array.
* @return array The email data array, with emoji in the message staticized.
*/
function mail_emoji( $mail ) {
function _wp_staticize_emoji_for_email( $mail ) {
$mail['message'] = wp_staticize_emoji( $mail['message'], true );
return $mail;
}