✏️ 正在编辑: functions.php
路径:
/home/qyel0117/public_html/wp-content/plugins/wordpress-seo/src/functions.php
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
<?php /** * WPSEO plugin file. * * @package WPSEO\Internals */ if ( ! defined( 'WPSEO_VERSION' ) ) { header( 'Status: 403 Forbidden' ); header( 'HTTP/1.1 403 Forbidden' ); exit(); } use Yoast\WP\SEO\Main; if ( is_dir( WPSEO_PATH . YOAST_VENDOR_PREFIX_DIRECTORY ) ) { require_once WPSEO_PATH . YOAST_VENDOR_PREFIX_DIRECTORY . '/guzzlehttp/guzzle/src/functions.php'; } /** * Retrieves the main instance. * * @phpcs:disable WordPress.NamingConventions -- Should probably be renamed, but leave for now. * * @return Main The main instance. */ function YoastSEO() { // phpcs:enable static $main; if ( $main === null ) { $main = new Main(); $main->load(); } return $main; }
💾 保存文件
← 返回文件管理器