| 1 |
<?php |
| 2 |
namespace Elementor\Data\V2\Base\Processor; |
| 3 |
|
| 4 |
use Elementor\Data\V2\Base\Processor; |
| 5 |
|
| 6 |
if ( ! defined( 'ABSPATH' ) ) { |
| 7 |
exit; // Exit if accessed directly. |
| 8 |
} |
| 9 |
|
| 10 |
abstract class After extends Processor { |
| 11 |
|
| 12 |
/** |
| 13 |
* Get conditions for running processor. |
| 14 |
* |
| 15 |
* @param array $args |
| 16 |
* @param mixed $result |
| 17 |
* |
| 18 |
* @return bool |
| 19 |
*/ |
| 20 |
public function get_conditions( $args, $result ) { |
| 21 |
return true; |
| 22 |
} |
| 23 |
|
| 24 |
/** |
| 25 |
* Apply processor. |
| 26 |
* |
| 27 |
* @param $args |
| 28 |
* @param $result |
| 29 |
* |
| 30 |
* @return mixed |
| 31 |
*/ |
| 32 |
abstract public function apply( $args, $result ); |
| 33 |
} |
| 34 |
|