jetpack_publicize_global_connections_cap, $this->GLOBAL_CAP

jetpack_publicize_global_connections_cap, $this->GLOBAL_CAP

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: jetpack.16.0.1

apply_filters('jetpack_publicize_global_connections_cap, $this->GLOBAL_CAP') is found 1 times:

  • /jetpack_vendor/automattic/jetpack-publicize/src/class-publicize-base.php line 256
    		 * @since-jetpack 2.2.1
    		 *
    		 * @param string $this->GLOBAL_CAP default capability in control of global Publicize connection options. Default to edit_others_posts.
    		 */
    		$this->GLOBAL_CAP = apply_filters( 'jetpack_publicize_global_connections_cap', $this->GLOBAL_CAP );
    
    		// stage 1 and 2 of 3-stage Publicize. Flag for Publicize on creation, save meta,
    		// then check meta and publicize based on that. stage 3 implemented on wpcom.
    		add_action( 'transition_post_status', array( $this, 'flag_post_for_publicize' ), 10, 3 );
    		add_action( 'save_post', array( $this, 'save_meta' ), 20, 2 );