mirror of
https://ghproxy.net/https://github.com/elementor/wp2static.git
synced 2026-07-21 11:47:28 +08:00
17 lines
371 B
PHP
17 lines
371 B
PHP
<?php
|
|
|
|
require_once __DIR__ . '/../../vendor/autoload.php';
|
|
|
|
WP_Mock::bootstrap();
|
|
|
|
if ( ! function_exists( 'untrailingslashit' ) ) {
|
|
function untrailingslashit( $string ) {
|
|
return rtrim( $string, '/\\' );
|
|
}
|
|
}
|
|
|
|
if ( ! function_exists( 'trailingslashit' ) ) {
|
|
function trailingslashit( $string ) {
|
|
return rtrim( $string, '/\\' ) . '/';
|
|
}
|
|
}
|