: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
* Template for a condition that only contains of an is/is_not choice.
* @var string $name form field name attribute.
* @var string $operator operator.
* @var array $type_options additional options for the condition.
?><input type="hidden" name="<?php echo esc_attr( $name ); ?>[type]"
value="<?php echo esc_attr( $options['type'] ); ?>"/>
include ADVADS_ABSPATH . 'admin/views/conditions/condition-operator.php';
<?php echo esc_html( $type_options[ $options['type'] ]['description'] ); ?>
if ( isset( $type_options[ $options['type'] ]['helplink'] ) ) {
'<a href="%1$s" class="advads-manual-link" target="_blank">%2$s</a>',
esc_url( $type_options[ $options['type'] ]['helplink'] ),
esc_html__( 'Manual', 'advanced-ads' )