ldc-groupe/content/plugins/wpai-acf-add-on/classes/compatibility.php
Vincent BRIDIER 134507db43 - Backup DEV
- Add DotEnv
- Fix Bato
- Etc..
2020-05-04 15:59:02 +02:00

13 lines
No EOL
260 B
PHP

<?php
class PMAI_Compatibility{
/**
* @param $file
* @return mixed|string
*/
public static function basename( $file ){
return function_exists('wp_all_import_basename') ? wp_all_import_basename($file) : basename($file);
}
}