You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

This plugin offers a bunch of internal filters and actions. Below is a list of them.

Filter nameTypeInReturnDescription
rbwc_admin_dynamic_contentfilter$content
$current_section
$yourContentRenders dynamic content for each section. If something specific, that is not included in the form fields, this could be used and will be appended in the bottom of each section.
rbwc_get_dependent_settingsfilter$currentArray$yourArrayIf settings are dependent of other activated options in the configuration, this filter should be used. The plugin use this internally, to enable/disable the developer-options tab.
rbwc_get_plugin_informationfilter$content$yourContent

Content added to this section will be shown in the information/support, as a part of the "version view". If you for example need to show openssl releases or other vital data for your platform, you should add it here.

Example:

[
   'OpenSSL version' => defined('OPENSSL_VERSION_TEXT') ? OPENSSL_VERSION_TEXT : ''
]


rbwc_can_display_order_info_after_detailsfilterbooleanboolean

rbwc_can_display_order_info_after_<WHERE>

The can_display-trio is used to disable each payment info section in the admin view. The details section also has a separate action that triggers instead of the standard action from woocommerce. That action delivers all payment information required to recreate the "bluebox information" from v2.x

rbwc_show_order_detailsaction$orderDataIs an echoThis action is executed right after the rbwc_can_display_order_info_after_details-filter. By disabling the three can_display_order_info and execute this hook with a full order representation, it is possible to create your own view right after the order details in the admin. This is pushed in here, in case the future requires a different view from this plugin.
rbwc_can_display_order_info_after_billingfilterbooleanboolean

rbwc_can_display_order_info_after_<WHERE>

The can_display-trio is used to disable each payment info section in the admin view.

rbwc_can_display_order_info_after_shippingfilterbooleanboolean

rbwc_can_display_order_info_after_<WHERE>

The can_display-trio is used to disable each payment info section in the admin view.

  • No labels