Fixed docs for enabled params (string, not bool), closes #4052
This commit is contained in:
parent
c58621f3f8
commit
b9b9f3a49e
|
@ -22,7 +22,7 @@ abstract class WC_Email extends WC_Settings_API {
|
|||
/** @var string Payment method title. */
|
||||
var $title;
|
||||
|
||||
/** @var bool True if the method is enabled. */
|
||||
/** @var string 'yes' if the method is enabled. */
|
||||
var $enabled;
|
||||
|
||||
/** @var string Description for the gateway. */
|
||||
|
|
|
@ -34,7 +34,7 @@ abstract class WC_Payment_Gateway extends WC_Settings_API {
|
|||
/** @var string Available for all counties or specific. */
|
||||
var $availability;
|
||||
|
||||
/** @var bool True if the method is enabled. */
|
||||
/** @var string 'yes' if the method is enabled. */
|
||||
var $enabled;
|
||||
|
||||
/** @var string Icon for the gateway. */
|
||||
|
|
Loading…
Reference in New Issue