bbp_allow_revisions

  • apply_filters( 'bbp_allow_revisions', (bool) get_option( '_bbp_allow_revisions', $default ) )

    Source Reference:

    • Component: bbPress :: bbp-core
      File: /bbp-includes/bbp-core-options.php :: Trac Source Line: 272
       *
       * @since bbPress (r3412)
       *
       * @param $default bool Optional. Default value
       *
       * @uses get_option() To get the allow revisions
       * @return bool Are revisions allowed?
       */
      function bbp_allow_revisions( $default = true ) {
      	return apply_filters( 'bbp_allow_revisions', (bool) get_option( '_bbp_allow_revisions', $default ) );
      }
      
      /**
       * Is the anonymous posting allowed?
       *
       * @since bbPress (r2659)
       *
       * @param $default bool Optional. Default value
       *
       * @uses get_option() To get the allow anonymous option
      

Comments are closed.