X7ROOT File Manager
Current Path:
/home/notabjze/crypfinite.com/wp-content/plugins/jetpack/modules
home
/
notabjze
/
crypfinite.com
/
wp-content
/
plugins
/
jetpack
/
modules
/
ðŸ“
..
📄
account-protection.php
(413 B)
📄
blaze.php
(986 B)
📄
blocks.php
(1.75 KB)
ðŸ“
carousel
📄
carousel.php
(573 B)
ðŸ“
cloudflare-analytics
ðŸ“
comment-likes
📄
comment-likes.php
(7.89 KB)
ðŸ“
comments
📄
comments.php
(1.06 KB)
📄
contact-form.php
(794 B)
📄
copy-post.php
(13.09 KB)
📄
custom-content-types.php
(3.96 KB)
ðŸ“
custom-post-types
ðŸ“
external-media
ðŸ“
google-fonts
📄
google-fonts.php
(533 B)
ðŸ“
gravatar
📄
gravatar-hovercards.php
(11.84 KB)
ðŸ“
infinite-scroll
📄
infinite-scroll.php
(8.19 KB)
📄
json-api.php
(484 B)
📄
latex.php
(4.61 KB)
ðŸ“
likes
📄
likes.php
(19.87 KB)
ðŸ“
markdown
📄
markdown.php
(1007 B)
📄
masterbar.php
(280 B)
ðŸ“
memberships
📄
module-extras.php
(2.66 KB)
📄
module-headings.php
(43.26 KB)
📄
module-info.php
(26.71 KB)
📄
monitor.php
(3.51 KB)
📄
notes.php
(7.67 KB)
ðŸ“
photon-cdn
📄
photon-cdn.php
(12.25 KB)
📄
photon.php
(711 B)
ðŸ“
plugin-search
📄
plugin-search.php
(21.61 KB)
ðŸ“
post-by-email
📄
post-by-email.php
(596 B)
📄
post-list.php
(533 B)
📄
protect.php
(657 B)
📄
publicize.php
(3.73 KB)
ðŸ“
related-posts
📄
related-posts.php
(2.14 KB)
ðŸ“
scan
📄
search.php
(1.17 KB)
ðŸ“
seo-tools
📄
seo-tools.php
(1.52 KB)
ðŸ“
sharedaddy
📄
sharedaddy.php
(1.59 KB)
ðŸ“
shortcodes
📄
shortcodes.php
(6.36 KB)
📄
shortlinks.php
(4.39 KB)
ðŸ“
simple-payments
ðŸ“
site-icon
ðŸ“
sitemaps
📄
sitemaps.php
(1.28 KB)
📄
sso.php
(684 B)
ðŸ“
stats
📄
stats.php
(43.47 KB)
ðŸ“
subscriptions
📄
subscriptions.php
(32.94 KB)
ðŸ“
theme-tools
📄
theme-tools.php
(2.42 KB)
ðŸ“
tiled-gallery
📄
tiled-gallery.php
(1.05 KB)
📄
vaultpress.php
(1.77 KB)
ðŸ“
verification-tools
📄
verification-tools.php
(830 B)
ðŸ“
videopress
📄
videopress.php
(1007 B)
📄
waf.php
(298 B)
ðŸ“
widget-visibility
📄
widget-visibility.php
(475 B)
ðŸ“
widgets
📄
widgets.php
(2.72 KB)
ðŸ“
woocommerce-analytics
📄
woocommerce-analytics.php
(861 B)
ðŸ“
wordads
📄
wordads.php
(586 B)
ðŸ“
wpcom-tos
📄
wpgroho.js
(1.93 KB)
Editing: publicize.php
<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName /** * Module Name: Jetpack Social * Module Description: Jetpack Social makes it easy to share your site’s posts on several social media networks automatically when you publish a new post. * Sort Order: 10 * Recommendation Order: 7 * First Introduced: 2.0 * Requires Connection: Yes * Requires User Connection: Yes * Auto Activate: No * Module Tags: Social, Recommended * Feature: Engagement * Additional Search Queries: facebook, bluesky, threads, mastodon, instagram, jetpack publicize, tumblr, linkedin, social, tweet, connections, sharing, social media, automated, automated sharing, auto publish, auto tweet and like, auto tweet, facebook auto post, facebook posting * * @package automattic/jetpack */ // phpcs:disable Universal.Files.SeparateFunctionsFromOO.Mixed -- TODO: Move classes to appropriately-named class files. use Automattic\Jetpack\Status\Host; /** * Class Jetpack_Publicize */ class Jetpack_Publicize { /** * Jetpack_Publicize constructor. */ public function __construct() { global $publicize_ui; if ( ! ( new Host() )->is_wpcom_simple() ) { Jetpack::enable_module_configurable( __FILE__ ); /* * The Publicize Options array does not currently have UI since it is being added * for a specific purpose and not part of a broader Publicize sprint. * * In order to pass the settings up to WordPress.com, we are updating an option to Sync will pass it up. * To make it relatively easy for use, we are creating a filter that checks if the option and filter match. * * This only runs when a post is saved to avoid it running too much. */ add_action( 'save_post', function () { $publicize_options = get_option( 'jetpack_publicize_options', array() ); /** * Filters the options for Publicize. * * As of Jetpack 8.5, the array keys could be: * attach_media bool If Publicize should send the image to the social media platform. Default false. * * @module publicize * * @since 8.5.0 * * @param array $options Array of Publicize options. */ $filtered = (array) apply_filters( 'jetpack_publicize_options', $publicize_options ); if ( $publicize_options !== $filtered ) { update_option( 'jetpack_publicize_options', $filtered, false ); } } ); } else { global $publicize; require_once WP_CONTENT_DIR . '/mu-plugins/keyring/keyring.php'; require_once WP_CONTENT_DIR . '/admin-plugins/publicize/publicize-wpcom.php'; $publicize = new \Publicize(); $publicize_ui = new Automattic\Jetpack\Publicize\Publicize_UI(); } } } // On Jetpack, we instantiate Jetpack_Publicize only if the Publicize module is active. if ( ! ( defined( 'IS_WPCOM' ) && IS_WPCOM ) ) { global $publicize; // None of this should be the case, but we can get here with a broken user connection. If that's the case // then we want to stop loading any more of the module code. if ( ! Jetpack::is_module_active( 'publicize' ) || ! Jetpack::connection()->has_connected_user() || ! $publicize ) { return; } new Jetpack_Publicize(); if ( ! function_exists( 'publicize_init' ) ) { /** * Helper for grabbing a Publicize object from the "front-end" (non-admin) of * a site. Normally Publicize is only loaded in wp-admin, so there's a little * set up that you might need to do if you want to use it on the front end. * Just call this function and it returns a Publicize object. * * @return \Automattic\Jetpack\Publicize\Publicize|\Publicize Object */ function publicize_init() { global $publicize; return $publicize; } } } else { // On wpcom, instantiate Jetpack_Publicize without any other checks. new Jetpack_Publicize(); }
Upload File
Create Folder