| Server IP : 172.67.191.88 / Your IP : 104.23.243.204 Web Server : Microsoft-IIS/7.5 System : Windows NT WIN-HN0MTSF2AF1 6.1 build 7601 (Windows Server 2008 R2 Enterprise Edition Service Pack 1) AMD64 User : IWPD_11(bayt-altogg) ( 0) PHP Version : 8.2.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Inetpub/vhosts/bayt-altoggar.com/httpdocs/wp-content/plugins/advanced-ads/admin/views/ |
Upload File : |
<?php
/**
* A couple of checks to see if there is any critical issue
* listed on support and settings page
*
* @package AdvancedAds
* @author Advanced Ads <[email protected]>
* @since 1.48.2
*/
$messages = [];
if ( Advanced_Ads_Ad_Health_Notices::has_visible_problems() ) {
$messages[] = sprintf(
/* translators: %1$s is a starting link tag, %2$s is closing the link tag. */
esc_attr__( 'You have unread Advanced Ads notifications. %1$sShow me these notifications%2$s', 'advanced-ads' ),
'<a href="' . admin_url( 'admin.php?page=advanced-ads' ) . '">',
'</a>'
);
}
$messages = apply_filters( 'advanced-ads-support-messages', $messages );
if ( count( $messages ) ) :
?><div class="message error">
<?php
foreach ( $messages as $_message ) :
?>
<p>
<?php
// phpcs:ignore
echo $_message;
?>
</p>
<?php
endforeach;
?>
</div>
<?php
endif;