BP_Document:: __construct (int | bool$ id

构造函数方法。

描述

参数

$ id

int|保龄球(可选)特定活动项的ID。

默认值:假

文件:bp-document /类/ class-bp-document.php

function __construct($id = false){//实例化错误对象。$this->errors = new WP_Error();如果(!$this->id = (int) $id;$ this - >填充();} }

更新日志

更新日志
版本 描述
BuddyBoss 1.4.0 介绍了。

问题吗?

我们总是很乐意帮助您解决代码或其他问题!搜索我们的开发人员文档联络支持,或与我们联系销售团队