The mbp_autopost_created action is triggered when a new automatic post has been created by the plugin. It has 2 variables, $gmb_name, containing Google’s internal post ID, and $gmb_url containing a direct URL to the post in the search results.

Usage

function do_something_with_post($gmb_name, $gmb_url){
	//Do something with the $gmb_name and $gmb_url variables here.
}
add_action('mbp_autopost_created', 'do_something_with_post');

 

Get Notified When The Sale Goes Live

Don't miss out on our epic Black Friday sale. Enter your first name and e-mail address below to receive a reminder

You have Successfully Subscribed!