bbp_past_edit_lock

  • apply_filters( 'bbp_past_edit_lock', (bool) $retval, $cur_time, $lock_time, $post_date_gmt )

    Source Reference:

    • Component: bbPress :: bbp-core
      File: /bbp-includes/bbp-common-functions.php :: Trac Source Line: 397
      		// Add lockable time to post time
      		$lock_time = strtotime( $lockable, strtotime( $post_date_gmt ) );
      
      		// Compare
      		if ( $cur_time >= $lock_time ) {
      			$retval = true;
      		}
      	}
      
      	return apply_filters( 'bbp_past_edit_lock', (bool) $retval, $cur_time, $lock_time, $post_date_gmt );
      }
      
      /** Statistics ****************************************************************/
      
      /**
       * Get the forum statistics
       *
       * @since bbPress (r2769)
       *
       * @param mixed $args Optional. The function supports these arguments (all
      

Comments are closed.