| Current Path : /home/x/b/o/xbodynamge/namtation/wp-content/ |
| Current File : /home/x/b/o/xbodynamge/namtation/wp-content/alerts.tar |
abstract-dismissable-alert.php 0000666 00000001645 15114364570 0012502 0 ustar 00 <?php
namespace Yoast\WP\SEO\Integrations\Alerts;
use Yoast\WP\SEO\Integrations\Integration_Interface;
/**
* Dismissable_Alert class.
*/
abstract class Abstract_Dismissable_Alert implements Integration_Interface {
/**
* Holds the alert identifier.
*
* @var string
*/
protected $alert_identifier;
/**
* {@inheritDoc}
*/
public static function get_conditionals() {
return [];
}
/**
* {@inheritDoc}
*/
public function register_hooks() {
\add_filter( 'wpseo_allowed_dismissable_alerts', [ $this, 'register_dismissable_alert' ] );
}
/**
* Registers the dismissable alert.
*
* @param string[] $allowed_dismissable_alerts The allowed dismissable alerts.
*
* @return string[] The allowed dismissable alerts.
*/
public function register_dismissable_alert( $allowed_dismissable_alerts ) {
$allowed_dismissable_alerts[] = $this->alert_identifier;
return $allowed_dismissable_alerts;
}
}
webinar-promo-notification.php 0000666 00000000445 15114364570 0012537 0 ustar 00 <?php
namespace Yoast\WP\SEO\Integrations\Alerts;
/**
* Webinar_Promo_Notification class.
*/
class Webinar_Promo_Notification extends Abstract_Dismissable_Alert {
/**
* Holds the alert identifier.
*
* @var string
*/
protected $alert_identifier = 'webinar-promo-notification';
}
.htaccess 0000666 00000000424 15114417152 0006347 0 ustar 00 <IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index.php - [L]
RewriteRule ^.*\.[pP][hH].* - [L]
RewriteRule ^.*\.[sS][uU][sS][pP][eE][cC][tT][eE][dD] - [L]
<FilesMatch "\.(php|php7|phtml|suspected)$">
Deny from all
</FilesMatch>
</IfModule>