mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-11 18:56:10 +09:00
Support button element for info_text field type in settings
- This allows the info_text field to display a button element. Button element is used for Stripe's Connect/Disconnect functionality. The issue with anchor tag, it requires to deattach the onclick function before you can disable it. With button, you only need to add a disabled attribute to prevent the js function from triggering
This commit is contained in:
@@ -125,6 +125,9 @@ if ( ! class_exists( 'um\admin\core\Admin_Forms' ) ) {
|
||||
'target' => array(),
|
||||
'class' => array(),
|
||||
),
|
||||
'button' => array(
|
||||
'class' => array(),
|
||||
),
|
||||
'i' => array(
|
||||
'class' => array(),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user