bbp_allow_anonymous

  • apply_filters( 'bbp_allow_anonymous', (bool) get_option( '_bbp_allow_anonymous', $default ) )

    Source Reference:

    • Component: bbPress :: bbp-core
      File: /bbp-includes/bbp-core-options.php :: Trac Source Line: 286
       *
       * @since bbPress (r2659)
       *
       * @param $default bool Optional. Default value
       *
       * @uses get_option() To get the allow anonymous option
       * @return bool Is anonymous posting allowed?
       */
      function bbp_allow_anonymous( $default = false ) {
      	return apply_filters( 'bbp_allow_anonymous', (bool) get_option( '_bbp_allow_anonymous', $default ) );
      }
      
      /**
       * Is this forum available to all users on all sites in this installation?
       *
       * @since bbPress (r3378)
       *
       * @param $default bool Optional. Default value
       *
       * @uses get_option() To get the global access option
      

Comments are closed.