Merge pull request #9968 from frozzare/docs/class-wc-settings

Improve docblock comments in WC_Settings_* classes
This commit is contained in:
Claudio Sanches 2016-01-05 13:59:56 -02:00
commit 01908dca5d
2 changed files with 17 additions and 1 deletions

View File

@ -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 = '';
/**

View File

@ -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';
/**