: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
* The view to render the option.
* @var boolean $checked True, when the option is checked.
* @var boolean $is_main_site True, when the site is the main site of the current network.
<?php if ( $is_main_site ) : ?>
<input id="advanced-ads-use-adblocker" type="checkbox" value="1" name="<?php echo esc_attr( ADVADS_SLUG ); ?>[use-adblocker]" <?php checked( $checked, 1, true ); ?>>
<?php esc_html_e( 'The ad block disguise can only be set by the super admin on the main site in the network.', 'advanced-ads' ); ?>
<?php esc_html_e( 'Prevents ad block software from breaking your website when blocking asset files (.js, .css).', 'advanced-ads' ); ?>
<?php if ( ! defined( 'AAP_VERSION' ) ) : ?>
// translators: %s is a URL.
__( 'Learn how to display alternative content to ad block users <a href="%s" target="_blank">in the manual</a>.', 'advanced-ads' ),
'https://wpadvancedads.com/manual/ad-blockers/#utm_source=advanced-ads&utm_medium=link&utm_campaign=adblock-manual'