PATH:
var
/
www
/
clients
/
client1
/
web1
/
web
/
wp-content
/
plugins
/
wp-all-export-pro
/
helpers
<?php function pmxe_render_xml_text($text, $shorten = false, $is_render_collapsed = false) { if (empty($text) && $text != "0") { return; // do not display empty text nodes } if (preg_match('%\[more:(\d+)\]%', $text, $mtch)) { $no = intval($mtch[1]); echo '<div class="xml-more">[ ⇓ ' . wp_kses_post(sprintf(__('<strong>%s</strong> %s more', 'pmxi_plugin'), $no, _n('element', 'elements', $no, 'pmxi_plugin'))) . ' ⇓ ]</div>'; return; } $more = ''; if ($shorten and preg_match('%^(.*?\s+){20}(?=\S)%', $text, $mtch)) { $text = $mtch[0]; $more = '<span class="xml-more">[' . esc_html__('more', 'pmxi_plugin') . ']</span>'; } $text = esc_html($text); $is_cdata = ( strpos($text, 'CDATABEGIN') !== false ); $text = str_replace('CDATABEGIN', '<![CDATA[', $text); $text = str_replace('CDATACLOSE', ']]>', $text); $is_short = strlen($text) <= 40; echo '<div class="xml-content textonly' . ($is_short ? ' short' : '') . ($is_cdata ? ' cdata' : '') . ($is_render_collapsed ? ' collapsed' : '') . '">' . $text . $more . '</div>'; }
[-] wp_all_export_check_children_assign.php
[edit]
[-] wp_all_export_url_title.php
[edit]
[-] wp_all_export_rmdir.php
[edit]
[-] wp_all_export_generate_export_file.php
[edit]
[-] wp_all_export_clear_xss.php
[edit]
[-] wp_all_export_write_article.php
[edit]
[-] wp_all_export_comments_clauses.php
[edit]
[-] wp_redirect_or_javascript.php
[edit]
[-] wp_all_export_rand_char.php
[edit]
[-] str_getcsv.php
[edit]
[-] wp_all_export_get_export_format.php
[edit]
[-] wp_all_export_remove_source.php
[edit]
[-] pmxe_render_xml_text.php
[edit]
[-] pmxe_render_xml_element.php
[edit]
[-] wp_all_export_reverse_rules_html.php
[edit]
[-] wp_all_export_filter_xml_element_name.php
[edit]
[-] wp_all_export_is_compatible.php
[edit]
[-] wp_all_export_remove_before_post_except_toolset_actions.php
[edit]
[-] pmxe_functions.php
[edit]
[-] wp_all_export_break_into_files.php
[edit]
[-] wp_all_export_get_cpt_name.php
[edit]
[-] wp_all_export_pre_user_query.php
[edit]
[-] get_taxonomies_by_object_type.php
[edit]
[-] wp_all_export_parse_field_name.php
[edit]
[+]
..
[-] wp_all_export_secure_file.php
[edit]
[-] pmxe_render_xml_attributes.php
[edit]
[-] pmxe_prepare_price.php
[edit]
[-] wp_all_export_posts_where.php
[edit]
[-] wp_all_export_remove_colons.php
[edit]
[-] wp_all_export_terms_clauses.php
[edit]
[-] wp_all_export_posts_join.php
[edit]
[-] backward.php
[edit]
[-] pmxe_filter.php
[edit]