first commit

This commit is contained in:
Ryan Ariana
2024-05-06 11:04:37 +07:00
commit aee061ddba
7322 changed files with 2918816 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
<?php
namespace ElementorPro\Core\Isolation;
interface Wordpress_Adapter_Interface {
public function has_post_thumbnail();
public function get_comments_number();
public function is_author( $author = ''): bool;
}

View File

@@ -0,0 +1,18 @@
<?php
namespace ElementorPro\Core\Isolation;
class Wordpress_Adapter implements Wordpress_Adapter_Interface {
public function has_post_thumbnail(): bool {
return has_post_thumbnail();
}
public function get_comments_number() {
return get_comments_number();
}
public function is_author( $author = '' ): bool {
return is_author( $author );
}
}