capitalize Woo.com when used in a sentence
This commit is contained in:
parent
c4cddc1eac
commit
1e1fec80aa
|
@ -175,7 +175,7 @@ And these settings have attributes which you can use. These affect the way the s
|
|||
|
||||
### Creating Your Own Settings
|
||||
|
||||
The built-in settings are great but you may need extra controls to create your settings page. That’s why we included some methods to do this for you. First, define a setting by adding it to the `$this->form_fields` array, entering the kind of form control you want under `type`. You can override the default HTML for your form inputs by creating a method with a name of the format `generate_{ type }_html` which outputs HTML markup. To specify how buttons are rendered, you’d add a method called `generate_button_html`. For textareas, you’d add a `generate_textarea_html` method, and so on. (Check out the `generate_settings_html` method of the `WC_Settings_API` class in the WooCommerce source code to see how WooCommerce uses this.) The below example creates a button that goes to woo.com.
|
||||
The built-in settings are great but you may need extra controls to create your settings page. That’s why we included some methods to do this for you. First, define a setting by adding it to the `$this->form_fields` array, entering the kind of form control you want under `type`. You can override the default HTML for your form inputs by creating a method with a name of the format `generate_{ type }_html` which outputs HTML markup. To specify how buttons are rendered, you’d add a method called `generate_button_html`. For textareas, you’d add a `generate_textarea_html` method, and so on. (Check out the `generate_settings_html` method of the `WC_Settings_API` class in the WooCommerce source code to see how WooCommerce uses this.) The below example creates a button that goes to Woo.com.
|
||||
|
||||
```php
|
||||
/**
|
||||
|
|
|
@ -364,7 +364,7 @@ class WC_Tracker {
|
|||
}
|
||||
|
||||
/**
|
||||
* Check to see if the helper is connected to woo.com
|
||||
* Check to see if the helper is connected to Woo.com
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
|
|
|
@ -32494,7 +32494,7 @@ index 0000000000..ee57fbfa48
|
|||
+ *
|
||||
+ * ## EXAMPLES
|
||||
+ *
|
||||
+ * # Install the latest version from woo.com and activate
|
||||
+ * # Install the latest version from Woo.com and activate
|
||||
+ * $ wp wc com extension install automatewoo --activate
|
||||
+ * Downloading install package from http://s3.amazonaws.com/bucketname/automatewoo.zip?AWSAccessKeyId=123&Expires=456&Signature=abcdef......
|
||||
+ * Using cached file '/home/vagrant/.wp-cli/cache/plugin/automatewoo.zip'...
|
||||
|
|
Loading…
Reference in New Issue