jetpack_social_admin_script_data

jetpack_social_admin_script_data

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: jetpack.14.1

apply_filters('jetpack_social_admin_script_data') is found 1 times:

  • /jetpack_vendor/automattic/jetpack-publicize/src/class-publicize-script-data.php line 59
    	 * @param array $data The script data.
    	 */
    	public static function set_admin_script_data( $data ) {
    
    		$data['social'] = apply_filters( 'jetpack_social_admin_script_data', self::get_admin_script_data(), $data );
    
    		if ( empty( $data['site']['plan']['product_slug'] ) ) {
    			$data['site']['plan'] = Current_Plan::get();
    		}
    
    		// Override features for simple sites.