This commit is contained in:
proelements
2025-11-13 15:18:34 +02:00
commit 9ac2bf2aa0
1178 changed files with 296944 additions and 0 deletions

23
core/php-api.php Normal file
View File

@@ -0,0 +1,23 @@
<?php
namespace ElementorPro\Core;
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
}
/**
* This class is responsible for the interaction with PHP Core API.
* The main benefit is making it easy to mock in testing.
*/
class PHP_Api {
/**
* @param $from
* @param $to
*
* @return bool
*/
public function move_uploaded_file( $from, $to ) {
return @ move_uploaded_file( $from, $to );
}
}