appthemes_get_order_connected_to( $post_id, $args = array() )
Returns an instance of APP_Order for the given Post ID connected to Order
Package
Description #Description
Related #Related
Uses #Uses
Uses | Description |
---|---|
includes/payments/order-functions.php: _appthemes_orders_get_connected() | Returns items connected via APPTHEMES_ORDER_CONNECTION |
includes/payments/order-functions.php: appthemes_get_order() | Returns an instance of APP_Order for the given Order ID |
Used By #Used By
Used By | Description |
---|---|
includes/views-dashboard.php: HRB_User_Dashboard_Workspace::template_vars() | Retrieves the required vars for the dashboard Workspace template. |
includes/escrow.php: hrb_workspace_is_pending_payment() | Checks if a given workspace is pending funds before work can start. |
includes/capabilities.php: _hrb_review_map_capabilities() | Meta cababilities for reviews. |
includes/escrow.php: hrb_get_workspace_transfer_funds_url() | Retrieve the URL for transferring funds. |
includes/escrow.php: _hrb_workspace_escrow_actions() | Enqueues escrow related actions to the workspace list of user actions. |
includes/escrow.php: hrb_create_escrow_order() | Creates a new escrow order for a newly created workspace. |
includes/escrow.php: hrb_workspace_refund_author() | Issue a refund on a given workspace if funds are currently held in escrow. |
includes/escrow.php: hrb_workspace_pay_participants() | Issue a payment for the receivers of funds held in escrow for a given workspace. |
includes/payments.php: hrb_get_pending_order_for() | Retrieves the pending order for a post, if exists. |
includes/template-tags-projects.php: get_the_hrb_project_status() | Retrieves the nice name status for a given project. Projects with Orders attached have different statuses verbiages. |
includes/activate.php: _hrb_handle_moderated_post() | Handles a post that changed from ‘pending’ to ‘publish’ by checking if it has connected Orders. |
includes/activate.php: _hrb_activate_parent_order() | Activates the Order connected to a post. |
includes/dashboard.php: _hrb_dashboard_project_actions_atts() | Retrieves the context links for a given set of actions and project. |