publish_phone action-hookWP 1.2.0

Fires after a post submitted by email is published.

Usage

add_action( 'publish_phone', 'wp_kama_publish_phone_action' );

/**
 * Function for `publish_phone` action-hook.
 * 
 * @param int $post_ID The post ID.
 *
 * @return void
 */
function wp_kama_publish_phone_action( $post_ID ){

	// action...
}
$post_ID(int)
The post ID.

Changelog

Since 1.2.0 Introduced.

Where the hook is called

In file: /wp-mail.php
publish_phone
wp-mail.php 246
do_action( 'publish_phone', $post_ID );

Where the hook is used in WordPress

Usage not found.