Merge pull request #9968 from frozzare/docs/class-wc-settings
Improve docblock comments in WC_Settings_* classes
This commit is contained in:
commit
01908dca5d
|
@ -19,7 +19,18 @@ if ( ! class_exists( 'WC_Settings_Page' ) ) :
|
|||
*/
|
||||
abstract class WC_Settings_Page {
|
||||
|
||||
protected $id = '';
|
||||
/**
|
||||
* Setting page id.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $id = '';
|
||||
|
||||
/**
|
||||
* Setting page label.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $label = '';
|
||||
|
||||
/**
|
||||
|
|
|
@ -19,6 +19,11 @@ if ( ! class_exists( 'WC_Settings_Tax' ) ) :
|
|||
*/
|
||||
class WC_Settings_Tax extends WC_Settings_Page {
|
||||
|
||||
/**
|
||||
* Setting page id.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $id = 'tax';
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue