apply_filters ( 'wpas_submit_post?', bool true, int $post_id, string $service_name, array $connection_data )

Filter whether a post should be publicized to a given service.

Source file: modules/publicize/publicize.php

View in GitHub



(bool) true Should the post be publicized to a given service? Default to true.


(int) Post ID.


(string) Service name.


(array) Array of information about all Publicize details for the site.


Since: Jetpack 2.0.0

Have a question about this article?

Comments are currently closed for this article, but rest assured we're still here to help! Send us a message and we'll get back to you.

Contact us