Changeset 30652
- Timestamp:
- 11/30/2014 11:52:33 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/option.php
r30105 r30652 33 33 * Filter the value of an existing option before it is retrieved. 34 34 * 35 * The dynamic portion of the hook name, $option, refers to the option name.35 * The dynamic portion of the hook name, `$option`, refers to the option name. 36 36 * 37 37 * Passing a truthy value to the filter will short-circuit retrieving … … 58 58 * Filter the default value for an option. 59 59 * 60 * The dynamic portion of the hook name, $option, refers 61 * to the option name. 60 * The dynamic portion of the hook name, `$option`, refers to the option name. 62 61 * 63 62 * @since 3.4.0 64 63 * 65 * @param mixed $default The default value to return if the option 66 * does not existin the database.64 * @param mixed $default The default value to return if the option does not exist 65 * in the database. 67 66 */ 68 67 return apply_filters( 'default_option_' . $option, $default ); … … 113 112 * Filter the value of an existing option. 114 113 * 115 * The dynamic portion of the hook name, $option, refers to the option name.114 * The dynamic portion of the hook name, `$option`, refers to the option name. 116 115 * 117 116 * @since 1.5.0 As 'option_' . $setting … … 246 245 * Filter a specific option before its value is (maybe) serialized and updated. 247 246 * 248 * The dynamic portion of the hook name, $option, refers to the option name.247 * The dynamic portion of the hook name, `$option`, refers to the option name. 249 248 * 250 249 * @since 2.6.0 … … 309 308 * Fires after the value of a specific option has been successfully updated. 310 309 * 311 * The dynamic portion of the hook name, $option, refers to the option name.310 * The dynamic portion of the hook name, `$option`, refers to the option name. 312 311 * 313 312 * @since 2.0.1 … … 411 410 * Fires after a specific option has been added. 412 411 * 413 * The dynamic portion of the hook name, $option, refers to the option name.412 * The dynamic portion of the hook name, `$option`, refers to the option name. 414 413 * 415 414 * @since 2.5.0 As "add_option_{$name}" … … 481 480 * Fires after a specific option has been deleted. 482 481 * 483 * The dynamic portion of the hook name, $option, refers to the option name.482 * The dynamic portion of the hook name, `$option`, refers to the option name. 484 483 * 485 484 * @since 3.0.0 … … 515 514 * Fires immediately before a specific transient is deleted. 516 515 * 517 * The dynamic portion of the hook name, $transient, refers to the transient name.516 * The dynamic portion of the hook name, `$transient`, refers to the transient name. 518 517 * 519 518 * @since 3.0.0 … … 564 563 * Filter the value of an existing transient. 565 564 * 566 * The dynamic portion of the hook name, $transient, refers to the transient name.565 * The dynamic portion of the hook name, `$transient`, refers to the transient name. 567 566 * 568 567 * Passing a truthy value to the filter will effectively short-circuit retrieval … … 603 602 * Filter an existing transient's value. 604 603 * 605 * The dynamic portion of the hook name, $transient, refers to the transient name.604 * The dynamic portion of the hook name, `$transient`, refers to the transient name. 606 605 * 607 606 * @since 2.8.0 … … 632 631 * Filter a specific transient before its value is set. 633 632 * 634 * The dynamic portion of the hook name, $transient, refers to the transient name.633 * The dynamic portion of the hook name, `$transient`, refers to the transient name. 635 634 * 636 635 * @since 3.0.0 … … 679 678 * Fires after the value for a specific transient has been set. 680 679 * 681 * The dynamic portion of the hook name, $transient, refers to the transient name.680 * The dynamic portion of the hook name, `$transient`, refers to the transient name. 682 681 * 683 682 * @since 3.0.0 … … 934 933 * Filter an existing site option before it is retrieved. 935 934 * 936 * The dynamic portion of the hook name, $option, refers to the option name.935 * The dynamic portion of the hook name, `$option`, refers to the option name. 937 936 * 938 937 * Passing a truthy value to the filter will effectively short-circuit retrieval, … … 958 957 * Filter a specific default site option. 959 958 * 960 * The dynamic portion of the hook name, $option, refers to the option name.959 * The dynamic portion of the hook name, `$option`, refers to the option name. 961 960 * 962 961 * @since 3.4.0 … … 999 998 * Filter the value of an existing site option. 1000 999 * 1001 * The dynamic portion of the hook name, $option, refers to the option name.1000 * The dynamic portion of the hook name, `$option`, refers to the option name. 1002 1001 * 1003 1002 * @since 2.9.0 As 'site_option_' . $key … … 1030 1029 * Filter the value of a specific site option before it is added. 1031 1030 * 1032 * The dynamic portion of the hook name, $option, refers to the option name.1031 * The dynamic portion of the hook name, `$option`, refers to the option name. 1033 1032 * 1034 1033 * @since 2.9.0 As 'pre_add_site_option_' . $key … … 1075 1074 * Fires after a specific site option has been successfully added. 1076 1075 * 1077 * The dynamic portion of the hook name, $option, refers to the option name.1076 * The dynamic portion of the hook name, `$option`, refers to the option name. 1078 1077 * 1079 1078 * @since 2.9.0 As "add_site_option_{$key}" … … 1118 1117 * Fires immediately before a specific site option is deleted. 1119 1118 * 1120 * The dynamic portion of the hook name, $option, refers to the option name.1119 * The dynamic portion of the hook name, `$option`, refers to the option name. 1121 1120 * 1122 1121 * @since 3.0.0 … … 1141 1140 * Fires after a specific site option has been deleted. 1142 1141 * 1143 * The dynamic portion of the hook name, $option, refers to the option name.1142 * The dynamic portion of the hook name, `$option`, refers to the option name. 1144 1143 * 1145 1144 * @since 2.9.0 As "delete_site_option_{$key}" … … 1185 1184 * Filter a specific site option before its value is updated. 1186 1185 * 1187 * The dynamic portion of the hook name, $option, refers to the option name.1186 * The dynamic portion of the hook name, `$option`, refers to the option name. 1188 1187 * 1189 1188 * @since 2.9.0 As 'pre_update_site_option_' . $key … … 1227 1226 * Fires after the value of a specific site option has been successfully updated. 1228 1227 * 1229 * The dynamic portion of the hook name, $option, refers to the option name.1228 * The dynamic portion of the hook name, `$option`, refers to the option name. 1230 1229 * 1231 1230 * @since 2.9.0 As "update_site_option_{$key}" … … 1267 1266 * Fires immediately before a specific site transient is deleted. 1268 1267 * 1269 * The dynamic portion of the hook name, $transient, refers to the transient name.1268 * The dynamic portion of the hook name, `$transient`, refers to the transient name. 1270 1269 * 1271 1270 * @since 3.0.0 … … 1317 1316 * Filter the value of an existing site transient. 1318 1317 * 1319 * The dynamic portion of the hook name, $transient, refers to the transient name.1318 * The dynamic portion of the hook name, `$transient`, refers to the transient name. 1320 1319 * 1321 1320 * Passing a truthy value to the filter will effectively short-circuit retrieval, … … 1356 1355 * Filter the value of an existing site transient. 1357 1356 * 1358 * The dynamic portion of the hook name, $transient, refers to the transient name.1357 * The dynamic portion of the hook name, `$transient`, refers to the transient name. 1359 1358 * 1360 1359 * @since 2.9.0 … … 1386 1385 * Filter the value of a specific site transient before it is set. 1387 1386 * 1388 * The dynamic portion of the hook name, $transient, refers to the transient name.1387 * The dynamic portion of the hook name, `$transient`, refers to the transient name. 1389 1388 * 1390 1389 * @since 3.0.0 … … 1416 1415 * Fires after the value for a specific site transient has been set. 1417 1416 * 1418 * The dynamic portion of the hook name, $transient, refers to the transient name.1417 * The dynamic portion of the hook name, `$transient`, refers to the transient name. 1419 1418 * 1420 1419 * @since 3.0.0
Note: See TracChangeset
for help on using the changeset viewer.