first commit
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
namespace Elementor\Modules\Home\Transformations\Base;
|
||||
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
exit; // Exit if accessed directly
|
||||
}
|
||||
|
||||
abstract class Transformations_Abstract {
|
||||
|
||||
protected $wordpress_adapter;
|
||||
protected $plugin_status_adapter;
|
||||
|
||||
public function __construct( $args ) {
|
||||
$this->wordpress_adapter = $args['wordpress_adapter'] ?? null;
|
||||
$this->plugin_status_adapter = $args['plugin_status_adapter'] ?? null;
|
||||
}
|
||||
|
||||
abstract public function transform( array $home_screen_data ): array;
|
||||
}
|
||||
Reference in New Issue
Block a user