Make WordPress Core

Changeset 2624

Timestamp:
06/10/2005 08:51:40 AM (20 years ago)
Author:
matt
Message:

Allow filtering of options

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/options.php

    r2573 r2624  
    4949    $nonbools = array('default_ping_status', 'default_comment_status');
    5050    if ($options) {
     51        $options = apply_filters( 'options_to_update' , $options );
    5152        foreach ($options as $option) {
    5253            // should we even bother checking?
Note: See TracChangeset for help on using the changeset viewer.