PATH:
var
/
www
/
clients
/
client1
/
web1
/
web
/
wp-content
/
plugins
/
wp-all-export-pro
/
helpers
<?php function wp_all_export_pre_user_query($obj) { if ( ! empty(PMXE_Plugin::$session) and PMXE_Plugin::$session->has_session() ) { // manual export run $customWhere = PMXE_Plugin::$session->get('whereclause'); $obj->query_where .= $customWhere; $customJoin = PMXE_Plugin::$session->get('joinclause'); if ( ! empty( $customJoin ) ) { foreach ($customJoin as $join) { $obj->query_from = str_replace(trim($join), "", $obj->query_from); } $obj->query_from .= implode( ' ', array_unique( $customJoin ) ); } } else { // cron job execution if ( ! empty(XmlExportEngine::$exportOptions['whereclause']) ) $obj->query_where .= XmlExportEngine::$exportOptions['whereclause']; if ( ! empty(XmlExportEngine::$exportOptions['joinclause']) ) { $obj->query_from .= implode( ' ', array_unique( XmlExportEngine::$exportOptions['joinclause'] ) ); } } if(isset(XmlExportEngine::$exportOptions['enable_real_time_exports']) && XmlExportEngine::$exportOptions['enable_real_time_exports'] ) { // Real-Time Exports if ( ! empty(\XmlExportEngine::$exportOptions['whereclause']) && !(strpos($obj->query_where, \XmlExportEngine::$exportOptions['whereclause']) !== false)) $obj->query_where .= XmlExportEngine::$exportOptions['whereclause']; if ( ! empty(XmlExportEngine::$exportOptions['joinclause']) ) { // Make sure we don't duplicate the join. $joinclause = implode( ' ', array_unique( XmlExportEngine::$exportOptions['joinclause'] ) ); if( !(strpos($obj->query_from, $joinclause) !== false)) $obj->query_from .= $joinclause; } } return $obj; }
[-] 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]