ACIL FM
Dark
Refresh
Current DIR:
/home/mhhtmff/www/site/wp-content/plugins/wordpress-seo/src/integrations/third-party
/
home
mhhtmff
www
site
wp-content
plugins
wordpress-seo
src
integrations
third-party
Upload
Zip Selected
Delete Selected
Pilih semua
Nama
Ukuran
Permission
Aksi
amp.php
1.46 MB
chmod
View
DL
Edit
Rename
Delete
bbpress.php
1.42 MB
chmod
View
DL
Edit
Rename
Delete
elementor.php
26 MB
chmod
View
DL
Edit
Rename
Delete
exclude-elementor-post-types.php
936 B
chmod
View
DL
Edit
Rename
Delete
exclude-woocommerce-post-types.php
907 B
chmod
View
DL
Edit
Rename
Delete
jetpack.php
836 B
chmod
View
DL
Edit
Rename
Delete
w3-total-cache.php
828 B
chmod
View
DL
Edit
Rename
Delete
web-stories-post-edit.php
1.21 MB
chmod
View
DL
Edit
Rename
Delete
web-stories.php
3.96 MB
chmod
View
DL
Edit
Rename
Delete
wincher-publish.php
4.47 MB
chmod
View
DL
Edit
Rename
Delete
wincher.php
3.24 MB
chmod
View
DL
Edit
Rename
Delete
woocommerce-permalinks.php
2.91 MB
chmod
View
DL
Edit
Rename
Delete
woocommerce-post-edit.php
1.47 MB
chmod
View
DL
Edit
Rename
Delete
woocommerce.php
9.44 MB
chmod
View
DL
Edit
Rename
Delete
wordproof-integration-toggle.php
4.65 MB
chmod
View
DL
Edit
Rename
Delete
wordproof.php
7.27 MB
chmod
View
DL
Edit
Rename
Delete
wpml-wpseo-notification.php
3.37 MB
chmod
View
DL
Edit
Rename
Delete
wpml.php
1.83 MB
chmod
View
DL
Edit
Rename
Delete
Edit file: /home/mhhtmff/www/site/wp-content/plugins/wordpress-seo/src/integrations/third-party/wincher.php
<?php namespace Yoast\WP\SEO\Integrations\Third_Party; use Yoast\WP\SEO\Conditionals\Admin_Conditional; use Yoast\WP\SEO\Helpers\Wincher_Helper; use Yoast\WP\SEO\Integrations\Integration_Interface; use Yoast_Feature_Toggle; /** * Adds the Wincher integration. */ class Wincher implements Integration_Interface { /** * The Wincher helper instance. * * @var Wincher_Helper */ protected $wincher; /** * The Wincher integration toggle constructor. * * @param Wincher_Helper $wincher The Wincher helper instance. */ public function __construct( Wincher_Helper $wincher ) { $this->wincher = $wincher; } /** * Initializes the integration. * * @return void */ public function register_hooks() { /** * Called by Yoast_Integration_Toggles to add extra toggles to the ones defined there. */ \add_filter( 'wpseo_integration_toggles', [ $this, 'add_integration_toggle' ] ); /** * Add extra text after the network integration toggle if the toggle is disabled. */ \add_action( 'Yoast\WP\SEO\admin_network_integration_after', [ $this, 'after_network_integration_toggle' ] ); } /** * Returns the conditionals based in which this loadable should be active. * * @return array The conditionals. */ public static function get_conditionals() { return [ Admin_Conditional::class ]; } /** * Adds the Wincher integration toggle to the $integration_toggles array. * * @param array $integration_toggles The integration toggles array. * * @return array The updated integration toggles array. */ public function add_integration_toggle( $integration_toggles ) { if ( \is_array( $integration_toggles ) ) { $integration_toggles[] = (object) [ /* translators: %s: 'Wincher' */ 'name' => \sprintf( \__( '%s integration', 'wordpress-seo' ), 'Wincher' ), 'setting' => 'wincher_integration_active', 'label' => \sprintf( /* translators: %s: 'Wincher' */ \__( 'The %s integration offers the option to track specific keyphrases and gain insights in their positions.', 'wordpress-seo' ), 'Wincher' ), 'order' => 11, 'disabled' => \is_multisite(), ]; } return $integration_toggles; } /** * Adds the disabled note when the integration toggle is disabled. * * @deprecated 20.3 * @codeCoverageIgnore * * @param Yoast_Feature_Toggle $integration The integration toggle class. */ public function after_integration_toggle( $integration ) { \_deprecated_function( __METHOD__, 'Yoast SEO 20.3' ); if ( $integration->setting === 'wincher_integration_active' ) { if ( \is_multisite() ) { $this->get_disabled_note(); } } } /** * Adds the disabled note to the network integration toggle. * * @param Yoast_Feature_Toggle $integration The integration toggle class. */ public function after_network_integration_toggle( $integration ) { if ( $integration->setting === 'wincher_integration_active' ) { $this->get_disabled_note(); } } /** * Outputs the disabled note. * * @codeCoverageIgnore * * @return void */ protected function get_disabled_note() { echo '<p>', \sprintf( /* translators: %s expands to Wincher */ \esc_html__( 'Currently, the %s integration is not available for multisites.', 'wordpress-seo' ), 'Wincher' ), '</p>'; } }
Simpan
Batal
Isi Zip:
Unzip
Create
Buat Folder
Buat File
Terminal / Execute
Run
Chmod Bulk
All File
All Folder
All File dan Folder
Apply