/var/www/vhosts/ihelp.ro/ajutam.ro/wp-content/plugins/trx_utils/api/booked
Edit: /var/www/vhosts/ihelp.ro/ajutam.ro/wp-content/plugins/trx_utils/api/booked/booked.php (2009B)
' . esc_html__('Booked Appointments', 'trx_utils');
return $not_installed;
}
}
// Set plugin's specific importer options
if ( !function_exists( 'trx_utils_booked_importer_set_options' ) ) {
if (is_admin()) add_filter( 'trx_utils_filter_importer_options', 'trx_utils_booked_importer_set_options', 10, 1 );
function trx_utils_booked_importer_set_options($options=array()) {
if ( trx_utils_exists_booked() && in_array('booked', $options['required_plugins']) ) {
$options['additional_options'][] = 'booked_%'; // Add slugs to export options of this plugin
}
return $options;
}
}
// Check if the row will be imported
if ( !function_exists( 'trx_utils_booked_importer_check_row' ) ) {
if (is_admin()) add_filter('trx_utils_filter_importer_import_row', 'trx_utils_booked_importer_check_row', 9, 4);
function trx_utils_booked_importer_check_row($flag, $table, $row, $list) {
if ($flag || strpos($list, 'booked')===false) return $flag;
if ( trx_utils_exists_booked() ) {
if ($table == 'posts')
$flag = $row['post_type']=='booked_appointments';
}
return $flag;
}
}
?>