File Editor
Directories:
.. (Back)
Files:
Action_Required.php
Approved.php
Completed.php
Created.php
Denied.php
Not_Completed.php
Pending.php
Refunded.php
Reversed.php
Status_Abstract.php
Status_Handler.php
Status_Interface.php
Undefined.php
Voided.php
Create New File
Create
Edit File: Denied.php
<?php namespace TEC\Tickets\Commerce\Status; /** * Class Denied. * * Used for handling Orders where the payment process failed, whether it be a credit card rejection or some other error. * * @since 5.1.9 * * @package TEC\Tickets\Commerce\Status */ class Denied extends Status_Abstract { /** * Slug for this Status. * * @since 5.1.9 * * @var string */ const SLUG = 'denied'; /** * {@inheritdoc} */ protected $flags = [ 'incomplete', 'warning', 'backfill_purchaser', 'count_canceled', ]; /** * {@inheritdoc} */ protected $wp_arguments = [ 'public' => true, 'exclude_from_search' => false, 'show_in_admin_all_list' => true, 'show_in_admin_status_list' => true, ]; /** * {@inheritdoc} */ public function get_name() { return __( 'Denied', 'event-tickets' ); } /** * {@inheritdoc} */ public function is_final() { return true; } }
Save Changes
Rename File
Rename