uawdijnntqw1x1x1
IP : 216.73.216.109
Hostname : premium160.web-hosting.com
Kernel : Linux premium160.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
Disable Function : None :)
OS : Linux
PATH:
/
home
/
batcwwjx
/
www
/
wp-content
/
plugins
/
all-in-one-seo-pack
/
.
/
app
/
Common
/
.
/
Meta
/
Amp.php
/
/
<?php namespace AIOSEO\Plugin\Common\Meta; // Exit if accessed directly. if ( ! defined( 'ABSPATH' ) ) { exit; } /** * Adds support for Google AMP. * * @since 4.0.0 */ class Amp { /** * Class constructor. * * @since 4.0.0 */ public function __construct() { add_action( 'init', [ $this, 'runAmp' ] ); } /** * Run the AMP hooks. * * @since 4.0.0 * * @return void */ public function runAmp() { if ( is_admin() || wp_doing_ajax() || wp_doing_cron() ) { return; } // Add social meta to AMP plugin. $enableAmp = apply_filters( 'aioseo_enable_amp_social_meta', true ); if ( $enableAmp ) { $useSchema = apply_filters( 'aioseo_amp_schema', true ); if ( $useSchema ) { add_action( 'amp_post_template_head', [ $this, 'removeHooksAmpSchema' ], 9 ); } add_action( 'amp_post_template_head', [ aioseo()->head, 'output' ], 11 ); } } /** * Remove Hooks with AMP's Schema. * * @since 4.0.0 * * @return void */ public function removeHooksAmpSchema() { // Remove AMP Schema hook used for outputting data. remove_action( 'amp_post_template_head', 'amp_print_schemaorg_metadata' ); } }
/home/batcwwjx/www/wp-content/plugins/all-in-one-seo-pack/./app/Common/./Meta/Amp.php