HEX
Server: Apache/2.4.65 (Ubuntu)
System: Linux ielts-store-v2 6.8.0-1036-gcp #38~22.04.1-Ubuntu SMP Thu Aug 14 01:19:18 UTC 2025 x86_64
User: root (0)
PHP: 7.2.34-54+ubuntu20.04.1+deb.sury.org+1
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,
Upload Files
File: /var/www/html/ielts-store/wp-content/plugins/automatewoo/includes/Actions/ActionInterface.php
<?php

namespace AutomateWoo\Actions;

use AutomateWoo\Fields\Field;

/**
 * Interface ActionInterface
 *
 * @since 5.2.0
 */
interface ActionInterface {

	/**
	 * Get the action's name.
	 *
	 * @return string
	 */
	public function get_name();

	/**
	 * Set the action's name.
	 *
	 * @param string $name
	 */
	public function set_name( $name );

	/**
	 * Get the action's title.
	 *
	 * @param bool $prepend_group
	 *
	 * @return string
	 */
	public function get_title( $prepend_group = false );

	/**
	 * Get the action's group.
	 *
	 * @return string
	 */
	public function get_group();

	/**
	 * Get the action's description.
	 *
	 * @return string
	 */
	public function get_description();

	/**
	 * Gets specific field belonging to the action.
	 *
	 * @param string $name
	 *
	 * @return Field|false
	 */
	public function get_field( $name );

	/**
	 * Gets the action's fields.
	 *
	 * @return Field[]
	 */
	public function get_fields();

	/**
	 * Set the action's options.
	 *
	 * @param array $options
	 */
	public function set_options( $options );

	/**
	 * Returns an option for use when running the action.
	 *
	 * Option value will already have been sanitized by it's field ::sanitize_value() method.
	 *
	 * @param string $field_name
	 * @param bool   $process_variables
	 * @param bool   $allow_html
	 *
	 * @return mixed Will vary depending on the field type specified in the action's fields.
	 */
	public function get_option( $field_name, $process_variables = false, $allow_html = false );

	/**
	 * Get an option for use when editing the action.
	 *
	 * The value will be already sanitized by the field object.
	 * This is used to displaying an option value for editing.
	 *
	 * @param string $field_name
	 *
	 * @return mixed
	 */
	public function get_option_raw( $field_name );

	/**
	 * Run the action.
	 *
	 * @throws \Exception When an error occurs.
	 */
	public function run();


}