CustomLabelDelete
Table of Contents
-
$_pWPDB
: wpdb
-
__construct()
: mixed
-
deleteByFormIdAndFieldNames()
: mixed
-
deleteSingleCustomLabelByFieldname()
: mixed
-
deleteSingleCustomLabelById()
: mixed
-
getBaseDeleteQuery()
: string
$_pWPDB
private
wpdb
$_pWPDB
__construct()
public
__construct(wpdb $pWPDB) : mixed
Parameters
-
$pWPDB
: wpdb
-
Return values
mixed
—
public
deleteByFormIdAndFieldNames(int $formId, array<string|int, mixed> $fieldNames) : mixed
Parameters
-
$formId
: int
-
-
$fieldNames
: array<string|int, mixed>
-
-
throws
-
CustomLabelDeleteException
Return values
mixed
—
deleteSingleCustomLabelByFieldname()
public
deleteSingleCustomLabelByFieldname(int $formId, string $fieldname[, string $locale = null ]) : mixed
Parameters
-
$formId
: int
-
-
$fieldname
: string
-
-
$locale
: string
= null
-
-
throws
-
CustomLabelDeleteException
Return values
mixed
—
deleteSingleCustomLabelById()
public
deleteSingleCustomLabelById(int $defaultId) : mixed
Parameters
-
$defaultId
: int
-
-
throws
-
CustomLabelDeleteException
Return values
mixed
—
getBaseDeleteQuery()
private
getBaseDeleteQuery() : string
Return values
string
—