Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93
/home/sportsfe.../httpdocs/clone/wp-conte.../plugins/wpforms-.../template.../builder/antispam
File: also-available.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* Also Available block.
[2] Fix | Delete
*
[3] Fix | Delete
* @since 1.7.8
[4] Fix | Delete
*
[5] Fix | Delete
* @var array $blocks All educational content blocks.
[6] Fix | Delete
*/
[7] Fix | Delete
[8] Fix | Delete
if ( ! defined( 'ABSPATH' ) ) {
[9] Fix | Delete
exit;
[10] Fix | Delete
}
[11] Fix | Delete
?>
[12] Fix | Delete
<div class="wpforms-panel-content-also-available">
[13] Fix | Delete
<?php
[14] Fix | Delete
foreach ( $blocks as $key => $block ) :
[15] Fix | Delete
[16] Fix | Delete
if ( empty( $block['show'] ) ) {
[17] Fix | Delete
continue;
[18] Fix | Delete
}
[19] Fix | Delete
[20] Fix | Delete
$slug = strtolower( $key );
[21] Fix | Delete
$class = ! empty( $block['class'] ) ? $block['class'] : '';
[22] Fix | Delete
?>
[23] Fix | Delete
[24] Fix | Delete
<div class="wpforms-panel-content-also-available-item <?php echo sanitize_html_class( "wpforms-panel-content-also-available-item-{$slug}" ); ?>">
[25] Fix | Delete
<div class='wpforms-panel-content-also-available-item-logo'>
[26] Fix | Delete
<img src="<?php echo esc_url( $block['logo'] ); ?>" alt="<?php echo esc_attr( $block['title'] ); ?>">
[27] Fix | Delete
</div>
[28] Fix | Delete
[29] Fix | Delete
<div class='wpforms-panel-content-also-available-item-info'>
[30] Fix | Delete
<h3><?php echo esc_html( $block['title'] ); ?></h3>
[31] Fix | Delete
<p><?php echo esc_html( $block['description'] ); ?></p>
[32] Fix | Delete
<a class="<?php echo sanitize_html_class( $class ); ?>"
[33] Fix | Delete
href="<?php echo esc_url( $block['link'] ); ?>"
[34] Fix | Delete
target="_blank"
[35] Fix | Delete
rel="noopener noreferrer">
[36] Fix | Delete
<?php echo esc_html( $block['link_text'] ); ?>
[37] Fix | Delete
</a>
[38] Fix | Delete
</div>
[39] Fix | Delete
</div>
[40] Fix | Delete
[41] Fix | Delete
<?php endforeach; ?>
[42] Fix | Delete
</div>
[43] Fix | Delete
[44] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function