apply_filters ( 'publicize_checkbox_global_default', bool $enabled, int $post_id, string $service_name, array $connection )

Filters the checkboxes for global connections with non-prilvedged users.

Source file: modules/publicize/publicize.php

View in GitHub

Parameters

$enabled

(bool) Indicates if this connection should be enabled. Default true.

$post_id

(int) ID of the current post

$service_name

(string) Name of the connection (Facebook, Twitter, etc)

$connection

(array) Array of data about the connection.


Changelog

Since: Jetpack 3.7.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