golden hour
/home/doctorbruno/public_html/pgmed.org/wp-content/plugins/jetpack/modules
⬆️ Go Up
Upload
File/Folder
Size
Actions
account-protection.php
369 B
Del
OK
ai.php
1.08 KB
Del
OK
blaze.php
1.03 KB
Del
OK
blocks.php
1.82 KB
Del
OK
canonical-urls
-
Del
OK
canonical-urls.php
2.46 KB
Del
OK
carousel
-
Del
OK
carousel.php
612 B
Del
OK
comment-likes
-
Del
OK
comment-likes.php
8.42 KB
Del
OK
comments
-
Del
OK
comments.php
1.32 KB
Del
OK
contact-form.php
798 B
Del
OK
copy-post.php
15.45 KB
Del
OK
custom-content-types.php
4 KB
Del
OK
custom-post-types
-
Del
OK
external-media
-
Del
OK
google-fonts
-
Del
OK
google-fonts.php
643 B
Del
OK
gravatar
-
Del
OK
gravatar-hovercards.php
11.91 KB
Del
OK
infinite-scroll
-
Del
OK
infinite-scroll.php
8.25 KB
Del
OK
json-api.php
503 B
Del
OK
latex.php
4.63 KB
Del
OK
likes
-
Del
OK
likes.php
21.3 KB
Del
OK
markdown
-
Del
OK
markdown.php
1.04 KB
Del
OK
memberships
-
Del
OK
module-extras.php
2.83 KB
Del
OK
module-headings.php
46.5 KB
Del
OK
module-info.php
27.27 KB
Del
OK
monitor.php
3.7 KB
Del
OK
notes.php
7.47 KB
Del
OK
photon-cdn
-
Del
OK
photon-cdn.php
12.69 KB
Del
OK
photon.php
698 B
Del
OK
plugin-search
-
Del
OK
plugin-search.php
22.77 KB
Del
OK
podcast.php
866 B
Del
OK
post-by-email
-
Del
OK
post-by-email.php
676 B
Del
OK
post-list.php
570 B
Del
OK
protect.php
609 B
Del
OK
publicize.php
3.76 KB
Del
OK
related-posts
-
Del
OK
related-posts.php
2.42 KB
Del
OK
reprint-export.php
528 B
Del
OK
scan
-
Del
OK
search.php
1.18 KB
Del
OK
seo-tools
-
Del
OK
seo-tools.php
1.76 KB
Del
OK
sharedaddy
-
Del
OK
sharedaddy.php
1.06 KB
Del
OK
shortcodes
-
Del
OK
shortcodes.php
6.45 KB
Del
OK
shortlinks
-
Del
OK
shortlinks.php
4.58 KB
Del
OK
simple-payments
-
Del
OK
simple-payments.php
421 B
Del
OK
site-icon
-
Del
OK
sitemaps
-
Del
OK
sitemaps.php
1.3 KB
Del
OK
sso.php
681 B
Del
OK
stats
-
Del
OK
stats.php
43.68 KB
Del
OK
subscriptions
-
Del
OK
subscriptions.php
35.2 KB
Del
OK
theme-tools
-
Del
OK
theme-tools.php
2.47 KB
Del
OK
tiled-gallery
-
Del
OK
tiled-gallery.php
1.12 KB
Del
OK
vaultpress.php
1.8 KB
Del
OK
verification-tools
-
Del
OK
verification-tools.php
899 B
Del
OK
videopress
-
Del
OK
videopress.php
989 B
Del
OK
waf.php
309 B
Del
OK
widget-visibility
-
Del
OK
widget-visibility.php
558 B
Del
OK
widgets
-
Del
OK
widgets.php
2.8 KB
Del
OK
woocommerce-analytics
-
Del
OK
woocommerce-analytics.php
928 B
Del
OK
wordads
-
Del
OK
wordads.php
632 B
Del
OK
wpcom-reader.php
461 B
Del
OK
wpcom-tos
-
Del
OK
wpgroho.js
1.93 KB
Del
OK
Edit: publicize.php
<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName /** * Module Name: Jetpack Social * Module Description: Auto‑share your posts to social networks and track engagement in one place. * 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; if ( ! defined( 'ABSPATH' ) ) { exit( 0 ); } /** * Class Jetpack_Publicize * * @phan-constructor-used-for-side-effects */ 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(); }
Save