first commit
This commit is contained in:
29
wp-content/plugins/elementor/data/base/processor/after.php
Normal file
29
wp-content/plugins/elementor/data/base/processor/after.php
Normal file
@@ -0,0 +1,29 @@
|
||||
<?php
|
||||
namespace Elementor\Data\Base\Processor;
|
||||
|
||||
use Elementor\Data\Base\Processor;
|
||||
|
||||
abstract class After extends Processor {
|
||||
|
||||
/**
|
||||
* Get conditions for running processor.
|
||||
*
|
||||
* @param array $args
|
||||
* @param mixed $result
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function get_conditions( $args, $result ) {
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Apply processor.
|
||||
*
|
||||
* @param $args
|
||||
* @param $result
|
||||
*
|
||||
* @return mixed
|
||||
*/
|
||||
abstract public function apply( $args, $result );
|
||||
}
|
||||
26
wp-content/plugins/elementor/data/base/processor/before.php
Normal file
26
wp-content/plugins/elementor/data/base/processor/before.php
Normal file
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
namespace Elementor\Data\Base\Processor;
|
||||
|
||||
use Elementor\Data\Base\Processor;
|
||||
|
||||
abstract class Before extends Processor {
|
||||
|
||||
/**
|
||||
* Get conditions for running processor.
|
||||
* @param array $args
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function get_conditions( $args ) {
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Apply processor.
|
||||
*
|
||||
* @param array $args
|
||||
*
|
||||
* @return mixed
|
||||
*/
|
||||
abstract public function apply( $args );
|
||||
}
|
||||
Reference in New Issue
Block a user