REDROOM
PHP 8.2.31
Path:
Logout
Edit File
Size: 788 B
Close
/home/nshryvcy/himaltourism.com/wp-content/plugins/js_composer/include/classes/settings/automapper/automapper.php
Text
Base64
<?php if ( ! defined( 'ABSPATH' ) ) { die( '-1' ); } // Helpers if ( ! function_exists( 'vc_atm_build_categories_array' ) ) { /** * @param $string * * @return array */ function vc_atm_build_categories_array( $string ) { return explode( ',', preg_replace( '/\,\s+/', ',', trim( $string ) ) ); } } if ( ! function_exists( 'vc_atm_build_params_array' ) ) { /** * @param $array * * @return array */ function vc_atm_build_params_array( $array ) { $params = array(); if ( is_array( $array ) ) { foreach ( $array as $param ) { if ( 'dropdown' === $param['type'] ) { $param['value'] = explode( ',', preg_replace( '/\,\s+/', ',', trim( $param['value'] ) ) ); } $param['save_always'] = true; $params[] = $param; } } return $params; } }
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 3
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
automapper.php
788 B
lrw-r--r--
2022-11-10 06:15:18
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
class-vc-automap-model.php
3.13 KB
lrw-r--r--
2022-11-10 06:15:18
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
class-vc-automapper.php
14.64 KB
lrw-r--r--
2022-11-10 06:15:18
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).