PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / 4.06.03
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More v4.06.03
6.35 6.34 6.33.1 6.33 6.32.1 6.32 6.31 6.25 6.25.1 6.26 6.26.1 6.27 6.28 6.29 6.3 6.3.1 6.3.2 6.30 6.4 6.4.1 6.4.2 6.5 6.5.1 6.5.2 6.5.3 All 141 releases
formidable / classes / views / xml / xml.php

xml.php in Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More 4.06.03, at classes/views/xml/xml.php

34 lines 1010 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php the_generator( 'export' ); ?>
2
3 <channel>
4 <title><?php bloginfo_rss( 'name' ); ?></title>
5 <pubDate><?php echo esc_html( gmdate( 'D, d M Y H:i:s +0000' ) ); ?></pubDate>
6
7 <?php
8 foreach ( $type as $tb_type ) {
9
10 if ( ! isset( $tables[ $tb_type ] ) ) {
11 do_action( 'frm_xml_import_' . $tb_type, $args );
12 continue;
13 }
14
15 //no records
16 if ( ! isset( $records[ $tb_type ] ) ) {
17 continue;
18 }
19
20 $item_ids = $records[ $tb_type ];
21 if ( in_array( $tb_type, array( 'styles', 'actions' ), true ) ) {
22 include( dirname( __FILE__ ) . '/posts_xml.php' );
23 } elseif ( file_exists( dirname( __FILE__ ) . '/' . $tb_type . '_xml.php' ) ) {
24 include( dirname( __FILE__ ) . '/' . $tb_type . '_xml.php' );
25 } elseif ( FrmAppHelper::pro_is_installed() && file_exists( FrmProAppHelper::plugin_path() . '/classes/views/xml/' . $tb_type . '_xml.php' ) ) {
26 include( FrmProAppHelper::plugin_path() . '/classes/views/xml/' . $tb_type . '_xml.php' );
27 }
28
29 unset( $item_ids, $records[ $tb_type ], $tb_type );
30 }
31
32 ?>
33 </channel>
34