first commit
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
namespace ElementorPro\Modules\LoopBuilder\Files\Css;
|
||||
|
||||
use Elementor\Core\DynamicTags\Dynamic_CSS;
|
||||
use Elementor\Core\Files\CSS\Post;
|
||||
|
||||
class Loop_Dynamic_CSS extends Dynamic_CSS {
|
||||
|
||||
private $post_id_for_data;
|
||||
|
||||
public function __construct( $post_id, $post_id_for_data ) {
|
||||
|
||||
$this->post_id_for_data = $post_id_for_data;
|
||||
|
||||
$post_css_file = Post::create( $post_id_for_data );
|
||||
|
||||
parent::__construct( $post_id, $post_css_file );
|
||||
}
|
||||
|
||||
public function get_post_id_for_data() {
|
||||
return $this->post_id_for_data;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user