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


Top ↑

Return

(int) Only returns 0.


Top ↑

Source

File: wp-includes/deprecated.php

function get_autotoggle($id = 0) {
	_deprecated_function( __FUNCTION__, '2.1.0' );
	return 0;
}


Top ↑

Changelog

Changelog
VersionDescription
2.1.0This function has been deprecated.
0.71Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More