bbp_delete_options

  • do_action( 'bbp_delete_options' )

    Source Reference:

    • Component: bbPress:: bbp-core
      File: /bbp-includes/bbp-core-options.php :: Trac Source Line: 178
      	// Get the default options and values
      	$options = bbp_get_default_options();
      
      	// Add default options
      	foreach ( $options as $key => $value )
      		delete_option( $key );
      
      	// Allow previously activated plugins to append their own options.
      	do_action( 'bbp_delete_options' );
      }
      
      /**
       * Add filters to each bbPress option and allow them to be overloaded from
       * inside the $bbp->options array.
       *
       * @since bbPress (r3451)
       *
       * @uses bbp_get_default_options() To get default options
       * @uses add_filter() To add filters to 'pre_option_{$key}'
      

Comments are closed.