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/wp-conte.../plugins/wpforms-.../template.../educatio.../admin
File: page.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* General education template.
[2] Fix | Delete
*
[3] Fix | Delete
* @since 1.8.6
[4] Fix | Delete
*
[5] Fix | Delete
* @var string $action Is plugin installed?
[6] Fix | Delete
* @var string $path Plugin file.
[7] Fix | Delete
* @var string $url URL download plugin download.
[8] Fix | Delete
* @var bool $plugin_allow Allow using plugin.
[9] Fix | Delete
* @var string $heading_title Heading title.
[10] Fix | Delete
* @var string $badge Badge.
[11] Fix | Delete
* @var string $heading_description Heading description.
[12] Fix | Delete
* @var string $features_description Features description.
[13] Fix | Delete
* @var array $features List of features.
[14] Fix | Delete
* @var array $images List of images.
[15] Fix | Delete
* @var string $utm_medium UTM medium.
[16] Fix | Delete
* @var string $utm_content UTM content.
[17] Fix | Delete
* @var string $upgrade_link Upgrade link.
[18] Fix | Delete
*/
[19] Fix | Delete
if ( ! defined( 'ABSPATH' ) ) {
[20] Fix | Delete
exit;
[21] Fix | Delete
}
[22] Fix | Delete
?>
[23] Fix | Delete
[24] Fix | Delete
<div class="wpforms-education-page">
[25] Fix | Delete
<div class="wpforms-education-page-heading">
[26] Fix | Delete
<?php if ( isset( $heading_title ) ) : ?>
[27] Fix | Delete
<h4>
[28] Fix | Delete
<?php echo esc_html( $heading_title ); ?>
[29] Fix | Delete
<?php if ( isset( $badge ) ) : ?>
[30] Fix | Delete
<span class="wpforms-badge wpforms-badge-sm wpforms-badge-inline wpforms-badge-titanium wpforms-badge-rounded"><?php echo esc_html( $badge ); ?></span>
[31] Fix | Delete
<?php endif; ?>
[32] Fix | Delete
</h4>
[33] Fix | Delete
<?php endif; ?>
[34] Fix | Delete
<?php
[35] Fix | Delete
if ( isset( $heading_description ) ) {
[36] Fix | Delete
echo wp_kses_post( $heading_description );
[37] Fix | Delete
}
[38] Fix | Delete
?>
[39] Fix | Delete
</div>
[40] Fix | Delete
[41] Fix | Delete
<div class="wpforms-education-page-media">
[42] Fix | Delete
<div class="wpforms-education-page-images">
[43] Fix | Delete
<?php
[44] Fix | Delete
if ( isset( $images ) ) :
[45] Fix | Delete
foreach ( $images as $image ) :
[46] Fix | Delete
?>
[47] Fix | Delete
<figure>
[48] Fix | Delete
<div class="wpforms-education-page-images-image">
[49] Fix | Delete
<img src="<?php echo esc_url( $image['url'] ); ?>" alt="<?php echo esc_attr( $image['title'] ); ?>" />
[50] Fix | Delete
<a href="<?php echo esc_url( $image['url2x'] ); ?>" class="hover" data-lity data-lity-desc="<?php echo esc_attr( $image['title'] ); ?>"></a>
[51] Fix | Delete
</div>
[52] Fix | Delete
<figcaption><?php echo esc_html( $image['title'] ); ?></figcaption>
[53] Fix | Delete
</figure>
[54] Fix | Delete
<?php
[55] Fix | Delete
endforeach;
[56] Fix | Delete
endif;
[57] Fix | Delete
?>
[58] Fix | Delete
</div>
[59] Fix | Delete
</div>
[60] Fix | Delete
[61] Fix | Delete
<div class="wpforms-education-page-caps">
[62] Fix | Delete
<?php if ( isset( $features_description ) ) : ?>
[63] Fix | Delete
<p><?php echo esc_html( $features_description ); ?></p>
[64] Fix | Delete
<?php endif; ?>
[65] Fix | Delete
<ul>
[66] Fix | Delete
<?php
[67] Fix | Delete
if ( isset( $features ) ) :
[68] Fix | Delete
foreach ( $features as $feature ) :
[69] Fix | Delete
?>
[70] Fix | Delete
<li>
[71] Fix | Delete
<i class="fa fa-solid fa-check"></i>
[72] Fix | Delete
<?php echo esc_html( $feature ); ?>
[73] Fix | Delete
</li>
[74] Fix | Delete
<?php
[75] Fix | Delete
endforeach;
[76] Fix | Delete
endif;
[77] Fix | Delete
?>
[78] Fix | Delete
</ul>
[79] Fix | Delete
</div>
[80] Fix | Delete
[81] Fix | Delete
<div class="wpforms-education-page-button">
[82] Fix | Delete
<?php
[83] Fix | Delete
if ( isset( $action ) ) {
[84] Fix | Delete
wpforms_edu_get_button(
[85] Fix | Delete
$action,
[86] Fix | Delete
$plugin_allow,
[87] Fix | Delete
$path,
[88] Fix | Delete
$url,
[89] Fix | Delete
[
[90] Fix | Delete
'medium' => $utm_medium,
[91] Fix | Delete
'content' => $utm_content,
[92] Fix | Delete
]
[93] Fix | Delete
);
[94] Fix | Delete
} else {
[95] Fix | Delete
printf(
[96] Fix | Delete
'<a href="%s" target="_blank" rel="noopener noreferrer" class="wpforms-upgrade-modal wpforms-btn wpforms-btn-lg wpforms-btn-orange">%s</a>',
[97] Fix | Delete
esc_url( wpforms_admin_upgrade_link( $utm_medium, $utm_content ) ),
[98] Fix | Delete
esc_html__( 'Upgrade to WPForms Pro', 'wpforms-lite' )
[99] Fix | Delete
);
[100] Fix | Delete
}
[101] Fix | Delete
?>
[102] Fix | Delete
</div>
[103] Fix | Delete
</div>
[104] Fix | Delete
[105] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function