PATH:
home
/
lab2454c
/
sothebankuab.com
/
wp-content
/
plugins
/
jetpack
/
modules
<?php /** * Module Name: Enhanced Distribution * Module Description: Increase reach and traffic. * Sort Order: 5 * First Introduced: 1.2 * Requires Connection: Yes * Auto Activate: Public * Module Tags: Writing * Feature: Engagement * Additional Search Queries: google, seo, firehose, search, broadcast, broadcasting */ // In case it's active prior to upgrading to 1.9 function jetpack_enhanced_distribution_before_activate_default_modules() { $old_version = Jetpack_Options::get_option( 'old_version' ); list( $old_version ) = explode( ':', $old_version ); if ( version_compare( $old_version, '1.9-something', '>=' ) ) { return; } Jetpack::check_privacy( __FILE__ ); } add_action( 'jetpack_before_activate_default_modules', 'jetpack_enhanced_distribution_before_activate_default_modules' ); /** * If a request has ?get_freshly_pressed_data=true appended * to the end, then let's provide the necessary data back via JSON. */ if ( isset( $_GET['get_freshly_pressed_data'] ) ) { add_action( 'template_redirect', 'jetpack_get_freshly_pressed_data' ); function jetpack_get_freshly_pressed_data() { if ( is_single() ) { wp_send_json_success( array( 'blog_id' => Jetpack_Options::get_option( 'id' ), 'post_id' => get_the_ID(), ) ); } else { wp_send_json_error( array( 'message' => 'Not Singular', ) ); } } } add_action( 'rss_head', 'jetpack_enhanced_distribution_feed_id' ); add_action( 'rss_item', 'jetpack_enhanced_distribution_post_id' ); add_action( 'rss2_head', 'jetpack_enhanced_distribution_feed_id' ); add_action( 'rss2_item', 'jetpack_enhanced_distribution_post_id' ); function jetpack_enhanced_distribution_feed_id(){ (int) $id = Jetpack_Options::get_option( 'id' ); if ( $id > 0 ) { $output = sprintf( '<site xmlns="com-wordpress:feed-additions:1">%d</site>', $id ); echo $output; } } function jetpack_enhanced_distribution_post_id(){ $id = get_the_ID(); if ( $id ) { $output = sprintf( '<post-id xmlns="com-wordpress:feed-additions:1">%d</post-id>', $id ); echo $output; } }
[+]
publicize
[+]
photon-cdn
[-] module-headings.php
[edit]
[+]
search
[-] shortcodes.php
[edit]
[-] lazy-images.php
[edit]
[-] minileven.php
[edit]
[+]
site-icon
[-] notes.php
[edit]
[+]
verification-tools
[-] carousel.php
[edit]
[+]
widgets
[+]
plugin-search
[+]
likes
[-] monitor.php
[edit]
[-] geo-location.php
[edit]
[-] seo-tools.php
[edit]
[-] search.php
[edit]
[-] enhanced-distribution.php
[edit]
[+]
theme-tools
[+]
custom-post-types
[-] subscriptions.php
[edit]
[+]
sitemaps
[-] post-by-email.php
[edit]
[-] gravatar-hovercards.php
[edit]
[-] videopress.php
[edit]
[+]
..
[-] shortlinks.php
[edit]
[+]
subscriptions
[-] module-extras.php
[edit]
[-] custom-css.php
[edit]
[-] publicize.php
[edit]
[+]
videopress
[-] latex.php
[edit]
[-] woocommerce-analytics.php
[edit]
[-] widgets.php
[edit]
[-] module-info.php
[edit]
[+]
tiled-gallery
[+]
google-analytics
[-] json-api.php
[edit]
[+]
scan
[+]
contact-form
[-] infinite-scroll.php
[edit]
[-] comment-likes.php
[edit]
[-] tiled-gallery.php
[edit]
[-] plugin-search.php
[edit]
[-] sharedaddy.php
[edit]
[-] sitemaps.php
[edit]
[-] masterbar.php
[edit]
[-] contact-form.php
[edit]
[+]
simple-payments
[-] photon-cdn.php
[edit]
[+]
post-by-email
[-] custom-content-types.php
[edit]
[+]
carousel
[-] widget-visibility.php
[edit]
[+]
photon
[+]
seo-tools
[-] theme-tools.php
[edit]
[-] verification-tools.php
[edit]
[+]
gravatar
[+]
memberships
[+]
shortcodes
[+]
protect
[-] protect.php
[edit]
[+]
widget-visibility
[+]
cloudflare-analytics
[-] sso.php
[edit]
[-] google-analytics.php
[edit]
[+]
sharedaddy
[-] markdown.php
[edit]
[-] wpgroho.js
[edit]
[-] vaultpress.php
[edit]
[+]
geo-location
[+]
markdown
[+]
infinite-scroll
[-] photon.php
[edit]
[+]
wpcom-block-editor
[-] stats.php
[edit]
[-] copy-post.php
[edit]
[+]
related-posts
[-] related-posts.php
[edit]
[+]
custom-css
[+]
comment-likes
[+]
wpcom-tos
[-] wordads.php
[edit]
[+]
woocommerce-analytics
[+]
comments
[-] comments.php
[edit]
[+]
wordads
[+]
masterbar
[+]
sso
[+]
calypsoify
[-] likes.php
[edit]