wphooks.info - publish_phone

publish_phone

The hook occurs in the following file:

/wp-mail.php:
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
	if ( empty( $post_ID ) )
		continue;

	/**
	 * Fires after a post submitted by email is published.
	 *
	 * @since 1.2.0
	 *
	 * @param int $post_ID The post ID.
	 */
	do_action( 'publish_phone', $post_ID );

	echo "\n<p><strong>" . __( 'Author:' ) . '</strong> ' . esc_html( $post_author ) . '</p>';
	echo "\n<p><strong>" . __( 'Posted title:' ) . '</strong> ' . esc_html( $post_title ) . '</p>';

	if(!$pop3->delete($i)) {
		echo '<p>' . sprintf(
			/* translators: %s: POP3 error */
			__( 'Oops: %s' ),
			esc_html( $pop3->ERROR )