Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- esc_html
- esc_html_e
- string ব্যবহৃত হলে esc_html_e হবে
- string ব্যবহৃত না হলে esc_html হবে
- /* for url sanitize */
- কোথাও সাধারনত টেক্সট ব্যবহার করতে হলে esc_html_e লিখতে হবে।
- <h2>Oops! That page can't be found.</h2>
- <h2><?php esc_html_e( 'Oops! That page can’t be found.', 'seo' ); ?></h2>
- esc_url
- /* for url sanitize */
- <a href="<?php echo $link['link']; ?>"></a>
- <?php echo esc_url($link['link']); ?>
- esc_attr
- /* for class sanitize */
- <i class="<?php echo $link['icon']; ?> "></i>
- <i class="<?php echo esc_attr($link['icon']); ?> "></i>
- <img src="<?php echo $image_logo_src[0]; ?>" alt="" style="max-height:<?php echo $image_logo_max_height; ?>" alt=""/>
- <img src="<?php echo esc_url($image_logo_src[0]); ?>" style="max-height:<?php echo esc_attr($image_logo_max_height); ?>" alt="<?php echo html(bloginfo('name')); ?>"/>
- wp_kses
- $footer_copyright_text_allowed_tags = array(
- 'a' => array(
- 'href' => array(),
- 'title' => array()
- ),
- 'img' => array(
- 'src' => array(),
- 'alt' => array()
- ),
- 'br' => array(),
- 'em' => array(),
- 'strong' => array(),
- );
- <div class="col-md-4">
- <?php if(!empty($footer_copyright_text)){echo $footer_copyright_text;} else{esc_html_e('Copyright © 2017 - All rights reserved', 'seo')} ?>
- </div>
- <div class="col-md-4">
- <?php if(!empty($footer_copyright_text)){echo wp_kses($footer_copyright_text, $footer_copyright_text_allowed_tags);} else{esc_html_e('Copyright © 2017 - All rights reserved', 'seo')} ?>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment