Skip to content

Commit

Permalink
Merge pull request #4 from skaut/wp-customize-control
Browse files Browse the repository at this point in the history
Better WP_Customize_Control
  • Loading branch information
marekdedic authored Nov 29, 2019
2 parents adf2ada + ce00e96 commit 418d0e9
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions stubs/WordPress/class-wp-customize-control.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ class WP_Customize_Control {
*/
public $json;

/**
* @var string
*/
public $type;

/**
* @var array
*/
Expand Down Expand Up @@ -38,6 +43,12 @@ class WP_Customize_Control {
public function __construct( $manager, $id, $args = [] ) {
}

/**
* @return void
*/
public function enqueue() {
}

/**
* @param string $setting_key
*
Expand All @@ -59,4 +70,10 @@ public function to_json() {
*/
public function value( $setting_key ) {
}

/**
* @return void
*/
protected function content_template() {
}
}

0 comments on commit 418d0e9

Please sign in to comment.