Warning: This function has been deprecated.
get_autotoggle() WordPress Function
This function retrieves the auto-toggle setting for a given field. Auto-toggle is a feature that allows a field to be automatically switched between two values. This can be useful for fields that are frequently switched between two values, such as "on" and "off."
get_autotoggle( int $id ) #
Gets the auto_toggle setting.
Parameters
- $id
(int)(Required)The category to get. If no category supplied uses 0
Return
(int) Only returns 0.
Source
File: wp-includes/deprecated.php
function get_autotoggle($id = 0) { _deprecated_function( __FUNCTION__, '2.1.0' ); return 0; }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
2.1.0 | This function has been deprecated. |
0.71 | Introduced. |