jetpack_sharing_twitter_related, array(
jetpack_sharing_twitter_related, array(
Appears in: jetpack.16.0.1
Hook Type: filter
Displaying hooks found in version: jetpack.16.0.1apply_filters('jetpack_sharing_twitter_related, array(') is found 4 times:
- /extensions/blocks/sharing-button/class-sharing-source-block.php line 1080
**/ public static function get_related_accounts( $post ) { $post = get_post( $post ); /** This filter is documented in modules/sharedaddy/sharing-sources.php */ $related_accounts = apply_filters( 'jetpack_sharing_twitter_related', array(), $post->ID ); // Example related string: account1,account2:Account 2 description,account3 $related = array(); foreach ( $related_accounts as $related_account_username => $related_account_description ) { // Join the description onto the end of the username - /extensions/blocks/sharing-button/class-sharing-source-block.php line 1250
* * @param array $args Array of Twitter usernames. Format is 'username' => 'Optional description' * @param int $post->ID Post ID. */ $related_accounts = apply_filters( 'jetpack_sharing_twitter_related', array(), $post->ID ); // Example related string: account1,account2:Account 2 description,account3 $related = array(); foreach ( $related_accounts as $related_account_username => $related_account_description ) { // Join the description onto the end of the username - /modules/sharedaddy/sharing-sources.php line 1226
* * @param array $args Array of Twitter usernames. Format is 'username' => 'Optional description' * @param int $post->ID Post ID. */ $related_accounts = apply_filters( 'jetpack_sharing_twitter_related', array(), $post->ID ); // Example related string: account1,account2:Account 2 description,account3 $related = array(); foreach ( $related_accounts as $related_account_username => $related_account_description ) { // Join the description onto the end of the username - /modules/sharedaddy/sharing-sources.php line 1521
**/ public static function get_related_accounts( $post ) { $post = get_post( $post ); /** This filter is documented in modules/sharedaddy/sharing-sources.php */ $related_accounts = apply_filters( 'jetpack_sharing_twitter_related', array(), $post->ID ); // Example related string: account1,account2:Account 2 description,account3 $related = array(); foreach ( $related_accounts as $related_account_username => $related_account_description ) { // Join the description onto the end of the username