PATH:
var
/
www
/
clients
/
client1
/
web1
/
web
/
wp-content
/
plugins
/
wp-all-export-pro
/
helpers
<?php if ( ! function_exists('wp_all_export_generate_export_file') ) { function wp_all_export_generate_export_file( $export_id ) { $is_secure_import = PMXE_Plugin::getInstance()->getOption('secure'); $wp_uploads = wp_upload_dir(); $target = $is_secure_import ? wp_all_export_secure_file($wp_uploads['basedir'] . DIRECTORY_SEPARATOR . PMXE_Plugin::UPLOADS_DIRECTORY, $export_id ) : $wp_uploads['path']; $export = new PMXE_Export_Record(); $export->getById( $export_id ); if ( ! $export->isEmpty()) { if($export->options['export_to'] == XmlExportEngine::EXPORT_TYPE_XML && $export->options['xml_template_type'] == XmlExportEngine::EXPORT_TYPE_GOOLE_MERCHANTS) { $extension = \Wpae\App\Service\ExportGoogleMerchants::GOOGLE_MERCHANTS_EXTENSION; } else { $extension = $export->options['export_to']; } if ( $export->options['creata_a_new_export_file'] ) { $export_file_name = sanitize_file_name($export->friendly_name) . '-' . ($export->iteration + 1) . '.' . $extension; } else { $export_file_name = sanitize_file_name($export->friendly_name) . '.' . $extension; } } return apply_filters('wp_all_export_export_file_name', $target . DIRECTORY_SEPARATOR . $export_file_name, $export_id ); } }
[-] 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]