File "shortcodes-text.php"
Full Path: /var/www/bvnghean.vn/save_bvnghean.vn/wp-content/themes/magone/includes/shortcodes/shortcodes-text.php
File size: 259 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
function magone_shortcode_text_display( $atts = array(), $content = "" ) {
if ($content) {
if (isset($atts['text_format']) && $atts['text_format']) {
return $content;
} else {
return wpautop(make_clickable(do_shortcode($content)));
}
}
}