Changeset 27262 for trunk/src/wp-includes/option.php
- Timestamp:
- 02/25/2014 05:13:08 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/option.php
r26304 r27262 4 4 * 5 5 * @package WordPress 6 * @subpackage Option 6 7 */ 7 8 … … 17 18 * 18 19 * @since 1.5.0 19 * @package WordPress20 * @subpackage Option21 20 * @uses apply_filters() Calls 'pre_option_$option' before checking the option. 22 21 * Any value other than false will "short-circuit" the retrieval of the option … … 99 98 * 100 99 * @since 2.2.0 101 * @package WordPress102 * @subpackage Option103 100 * 104 101 * @param string $option Option name. … … 114 111 * @uses attr Sanitizes value. 115 112 * @since 1.5.0 116 * @package WordPress117 * @subpackage Option118 113 * 119 114 * @param string $option Option name. … … 127 122 * 128 123 * @since 2.2.0 129 * @package WordPress130 * @subpackage Option131 124 * 132 125 * @return array List of all options. … … 160 153 * 161 154 * @since 3.0.0 162 * @package WordPress163 * @subpackage Option164 155 * 165 156 * @param int $site_id Optional site ID for which to query the options. Defaults to the current site. … … 200 191 * 201 192 * @since 1.0.0 202 * @package WordPress203 * @subpackage Option204 193 * 205 194 * @uses apply_filters() Calls 'pre_update_option_$option' hook to allow overwriting the … … 275 264 * options the same as the ones which are protected. 276 265 * 277 * @package WordPress278 * @subpackage Option279 266 * @since 1.0.0 280 267 * … … 344 331 * Removes option by name. Prevents removal of protected WordPress options. 345 332 * 346 * @package WordPress347 * @subpackage Option348 333 * @since 1.2.0 349 334 * … … 392 377 * 393 378 * @since 2.8.0 394 * @package WordPress395 * @subpackage Transient396 379 * 397 380 * @uses do_action() Calls 'delete_transient_$transient' hook before transient is deleted. … … 432 415 * 433 416 * @since 2.8.0 434 * @package WordPress435 * @subpackage Transient436 417 * 437 418 * @param string $transient Transient name. Expected to not be SQL-escaped … … 474 455 * 475 456 * @since 2.8.0 476 * @package WordPress477 * @subpackage Transient478 457 * 479 458 * @uses apply_filters() Calls 'pre_set_transient_$transient' hook to allow overwriting the … … 522 501 * the settings. 523 502 * 524 * @package WordPress525 * @subpackage Option526 503 * @since 2.7.0 527 504 */ … … 569 546 * Retrieve user interface setting value based on setting name. 570 547 * 571 * @package WordPress572 * @subpackage Option573 548 * @since 2.7.0 574 549 * … … 589 564 * This function has to be used before any output has started as it calls setcookie(). 590 565 * 591 * @package WordPress592 * @subpackage Option593 566 * @since 2.8.0 594 567 * … … 614 587 * This function has to be used before any output has started as it calls setcookie(). 615 588 * 616 * @package WordPress617 * @subpackage Option618 589 * @since 2.7.0 619 590 * … … 646 617 * Retrieve all user interface settings. 647 618 * 648 * @package WordPress649 * @subpackage Option650 619 * @since 2.7.0 651 620 * … … 681 650 * Private. Set all user interface settings. 682 651 * 683 * @package WordPress684 * @subpackage Option685 652 * @since 2.8.0 686 653 * … … 718 685 * Delete the user settings of the current user. 719 686 * 720 * @package WordPress721 * @subpackage Option722 687 * @since 2.7.0 723 688 */ … … 734 699 * 735 700 * @see get_option() 736 * @package WordPress737 * @subpackage Option738 701 * @since 2.8.0 739 702 * … … 796 759 * 797 760 * @see add_option() 798 * @package WordPress799 * @subpackage Option800 761 * @since 2.8.0 801 762 * … … 857 818 * 858 819 * @see delete_option() 859 * @package WordPress860 * @subpackage Option861 820 * @since 2.8.0 862 821 * … … 900 859 * @see update_option() 901 860 * @since 2.8.0 902 * @package WordPress903 * @subpackage Option904 861 * 905 862 * @uses apply_filters() Calls 'pre_update_site_option_$option' hook to allow overwriting the … … 958 915 * 959 916 * @since 2.9.0 960 * @package WordPress961 * @subpackage Transient962 917 * 963 918 * @uses do_action() Calls 'delete_site_transient_$transient' hook before transient is deleted. … … 991 946 * @see get_transient() 992 947 * @since 2.9.0 993 * @package WordPress994 * @subpackage Transient995 948 * 996 949 * @uses apply_filters() Calls 'pre_site_transient_$transient' hook before checking the transient. … … 1039 992 * @see set_transient() 1040 993 * @since 2.9.0 1041 * @package WordPress1042 * @subpackage Transient1043 994 * 1044 995 * @uses apply_filters() Calls 'pre_set_site_transient_$transient' hook to allow overwriting the
Note: See TracChangeset
for help on using the changeset viewer.