Docs: Move the @link
tag for Customize API in WP_Customize_Manager::add_setting()
and WP_Customize_Setting
to a more appropriate place.
See #48303. git-svn-id: https://develop.svn.wordpress.org/trunk@46691 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
99132f8abc
commit
a9b3e85dd3
@ -3674,6 +3674,8 @@ final class WP_Customize_Manager {
|
||||
* @since 3.4.0
|
||||
* @since 4.5.0 Return added WP_Customize_Setting instance.
|
||||
*
|
||||
* @link https://developer.wordpress.org/themes/customize-api
|
||||
*
|
||||
* @param WP_Customize_Setting|string $id Customize Setting object, or ID.
|
||||
* @param array $args {
|
||||
* Optional. Array of properties for the new WP_Customize_Setting. Default empty array.
|
||||
@ -3685,8 +3687,7 @@ final class WP_Customize_Manager {
|
||||
* @type string $transport Options for rendering the live preview of changes in Customizer.
|
||||
* Using 'refresh' makes the change visible by reloading the whole preview.
|
||||
* Using 'postMessage' allows a custom JavaScript to handle live changes.
|
||||
* @link https://developer.wordpress.org/themes/customize-api
|
||||
* Default is 'refresh'
|
||||
* Default is 'refresh'.
|
||||
* @type callable $validate_callback Server-side validation callback for the setting's value.
|
||||
* @type callable $sanitize_callback Callback to filter a Customize setting value in un-slashed form.
|
||||
* @type callable $sanitize_js_callback Callback to convert a Customize PHP setting value to a value that is
|
||||
|
@ -13,6 +13,7 @@
|
||||
* Handles saving and sanitizing of settings.
|
||||
*
|
||||
* @since 3.4.0
|
||||
* @link https://developer.wordpress.org/themes/customize-api
|
||||
*
|
||||
* @see WP_Customize_Manager
|
||||
*/
|
||||
@ -71,8 +72,6 @@ class WP_Customize_Setting {
|
||||
* Set this value to 'postMessage' to enable a custom JavaScript handler to render changes to this setting
|
||||
* as opposed to reloading the whole page.
|
||||
*
|
||||
* @link https://developer.wordpress.org/themes/customize-api
|
||||
*
|
||||
* @since 3.4.0
|
||||
* @var string
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user