Pwt_Widget
Class to show a payment button in a sidebar like a widget
version | 1.0 |
---|---|
since | 1.0 |
Pwt_Widget()
Constructor of Pwt_Widget widget.
form(Array $instance)
Overrided method to configure the button.
Array
get_shortcode(int $id) : Array
Method to find and return one payment button.
global | Object $wpdb |
---|
int
Array
array('0' => Object)get_shortcodes() : Array
Method to select all the available payment buttons
global | Object $wpdb |
---|
Array
Return the available buttons in an array of objectsupdate(\type $new_instance, \type $old_instance) : \type
\type
\type
\type