mirror of
https://github.com/woocommerce/storefront.git
synced 2025-08-21 04:11:59 +08:00
ensure php adheres to coding standards according to PHP CodeSniffer / wpcs. closes #326
This commit is contained in:
parent
6b136e0251
commit
a3ec0358fa
7 changed files with 130 additions and 77 deletions
|
@ -1,9 +1,32 @@
|
|||
<?php
|
||||
/**
|
||||
* Class to create a custom arbitrary html control for dividers etc
|
||||
*
|
||||
* @author WooThemes
|
||||
* @package storefront
|
||||
*/
|
||||
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
exit;
|
||||
}
|
||||
|
||||
/**
|
||||
* The arbitrary control class
|
||||
*/
|
||||
class Arbitrary_Storefront_Control extends WP_Customize_Control {
|
||||
|
||||
/**
|
||||
* The settings var
|
||||
*
|
||||
* @var string $settings the blog name.
|
||||
*/
|
||||
public $settings = 'blogname';
|
||||
|
||||
/**
|
||||
* The description var
|
||||
*
|
||||
* @var string $description the control description.
|
||||
*/
|
||||
public $description = '';
|
||||
|
||||
/**
|
||||
|
@ -27,4 +50,4 @@ class Arbitrary_Storefront_Control extends WP_Customize_Control {
|
|||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue