Uname: Linux premium294.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64
Software: LiteSpeed
PHP version: 8.1.32 [ PHP INFO ] PHP os: Linux
Server Ip: 104.21.48.1
Your Ip: 216.73.216.223
User: mjbynoyq (1574) | Group: mjbynoyq (1570)
Safe Mode: OFF
Disable Function:
NONE

name : xml.php
<?php
if ( ! defined( 'ABSPATH' ) ) {
	die( 'You are not allowed to call this page directly.' );
}

the_generator( 'export' );
?>

<channel>
	<title><?php bloginfo_rss( 'name' ); ?></title>
	<pubDate><?php echo esc_html( gmdate( 'D, d M Y H:i:s +0000' ) ); ?></pubDate>

<?php
/**
 * @since 5.3
 */
do_action( 'frm_xml_export_before_types_loop' );

foreach ( $type as $tb_type ) {

	if ( ! isset( $tables[ $tb_type ] ) ) {
		do_action( 'frm_xml_import_' . $tb_type, $args );
		continue;
	}

	if ( ! isset( $records[ $tb_type ] ) ) {
		// No records.
		continue;
	}

	$item_ids = $records[ $tb_type ];

	if ( in_array( $tb_type, array( 'styles', 'actions' ), true ) ) {
		include __DIR__ . '/posts_xml.php';
	} elseif ( file_exists( __DIR__ . '/' . $tb_type . '_xml.php' ) ) {
		include __DIR__ . '/' . $tb_type . '_xml.php';
	} elseif ( FrmAppHelper::pro_is_installed() && file_exists( FrmProAppHelper::plugin_path() . '/classes/views/xml/' . $tb_type . '_xml.php' ) ) {
		include FrmProAppHelper::plugin_path() . '/classes/views/xml/' . $tb_type . '_xml.php';
	}

	unset( $item_ids, $records[ $tb_type ], $tb_type );
}//end foreach

/**
 * @since 5.3
 */
do_action( 'frm_xml_export_after_types_loop' );
?>
</channel>
© 2025 XylotrechusZ