geodirectoryGeoDirectory (directories) Abilities
Directories integration. Directory listing scale, category structure, and listing field schema. Read-only diagnostic.
manage_options 2Available Tools (2)
geodir_get_statusmanage_optionsGeoDirectory scale overview: for each listing post type GeoDirectory registers (gd_place and any others), the listing counts by post status and the number of categories in that post type's category taxonomy. Listings themselves stay on the core post/term/meta tools; this is the one-read aggregate across every directory CPT. Read-only.
Parameter Schema0 parameters
{
"type": "object",
"properties": {}
}geodir_get_field_schemamanage_optionsThe custom-field schema for a GeoDirectory listing post type: each active field's htmlvar name, admin/frontend title, field type (text/select/checkbox/…), data type, and whether it is required. This is the field-definition discovery core tools cannot provide - the shape of a listing, not its content or any listing's field values. Read-only.
Parameter Schema1 parameter
{
"type": "object",
"properties": {
"post_type": {
"type": "string",
"description": "A GeoDirectory listing post type (e.g. gd_place). Defaults to gd_place."
}
}
}