| 1 |
<?php |
| 2 |
/** |
| 3 |
* Post Type Constants |
| 4 |
* |
| 5 |
* @package Easy_Invoice |
| 6 |
* @subpackage Constants |
| 7 |
*/ |
| 8 |
|
| 9 |
namespace EasyInvoice\Constants; |
| 10 |
|
| 11 |
/** |
| 12 |
* PostType Constants Class |
| 13 |
* |
| 14 |
* Centralized post type definitions for the Easy Invoice plugin. |
| 15 |
*/ |
| 16 |
class PostTypes { |
| 17 |
/** |
| 18 |
* Invoice post type |
| 19 |
*/ |
| 20 |
public const EASY_INVOICE_POST_TYPE = 'easy_invoice'; |
| 21 |
|
| 22 |
/** |
| 23 |
* Quote post type |
| 24 |
*/ |
| 25 |
public const EASY_INVOICE_QUOTE_POST_TYPE = 'easy_invoice_quote'; |
| 26 |
|
| 27 |
/** |
| 28 |
* Payment post type |
| 29 |
*/ |
| 30 |
public const EASY_INVOICE_PAYMENT_POST_TYPE = 'easy_invoice_payment'; |
| 31 |
|
| 32 |
/** |
| 33 |
* Recurring invoice post type (Pro) |
| 34 |
*/ |
| 35 |
public const EASY_INVOICE_RECURRING_POST_TYPE = 'easy_invoice_recurring'; |
| 36 |
|
| 37 |
|
| 38 |
} |