Tag: function

  • Filter: mbp_autopost_post_args

    The mbp_autopost_post_args filter allows you to alter the post arguments sent to Google My Business when the plugin creates an automatic post. It has 2 parameters, $args containing the post data and $location containing the GMB location ID. function do_something_with_the_post_args($args, $location){ //Alter the post arguments return $args; } add_filter(‘mbp_autopost_post_args’, ‘do_something_with_the_post_args’, 10, 2); Out of the…