Documentation

metaboxes.php

Metaboxes

Tags
since
13.0.0
author

José Conti.

link
https://joseconti.com
link
https://redsys.joseconti.com
link
https://woo.com/products/redsys-gateway/
license

GNU General Public License v3.0

license

URI: http://www.gnu.org/licenses/gpl-3.0.html

copyright

2013-2024 José Conti.

Table of Contents

Functions

redsys_qr_get_error()  : mixed
Get QR Error Code
redsys_register_qr_meta_boxes()  : mixed
Register metaboxes.
redsys_qr_metabox_callback()  : mixed
Metabox display callback.
add_redsys_meta_box()  : mixed
Add Redsys metabox to order page
redsys_tab()  : mixed
Add Redsys metabox to order page
redsys_tab_panel()  : mixed
Adding tabs to custom panel.
save_redsys_product()  : mixed
Save Redsys metabox to order page
paygold_metabox()  : mixed
Add PayGold metabox to order page
paygold_meta_box_content()  : mixed
Add PayGold metabox content to order page
paygold_metabox_save()  : mixed
Save the metabox data

Functions

redsys_qr_get_error()

Get QR Error Code

redsys_qr_get_error(string $error) : mixed
Parameters
$error : string

Error code.

redsys_register_qr_meta_boxes()

Register metaboxes.

redsys_register_qr_meta_boxes() : mixed

redsys_qr_metabox_callback()

Metabox display callback.

redsys_qr_metabox_callback(WP_Post $post) : mixed
Parameters
$post : WP_Post

Current post object.

add_redsys_meta_box()

Add Redsys metabox to order page

add_redsys_meta_box(WP_Post $post_or_order_object) : mixed
Parameters
$post_or_order_object : WP_Post

Post object.

redsys_tab()

Add Redsys metabox to order page

redsys_tab(array<string|int, mixed> $tabs) : mixed
Parameters
$tabs : array<string|int, mixed>

Tabs.

redsys_tab_panel()

Adding tabs to custom panel.

redsys_tab_panel() : mixed

save_redsys_product()

Save Redsys metabox to order page

save_redsys_product(int $post_id) : mixed
Parameters
$post_id : int

Post ID.

paygold_metabox()

Add PayGold metabox to order page

paygold_metabox(object $post_or_order_object) : mixed
Parameters
$post_or_order_object : object

Order Object.

paygold_meta_box_content()

Add PayGold metabox content to order page

paygold_meta_box_content(object $post) : mixed
Parameters
$post : object

Post Object.

paygold_metabox_save()

Save the metabox data

paygold_metabox_save(int $order_id) : mixed
Parameters
$order_id : int

Order ID.


        
On this page

Search results