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

Parameters

true

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

$post_id

(int) Post ID.

$service_name

(string) Service name.

$connection_data

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


Changelog

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