{
  "slug": "wp-kit",
  "name": "wp-kit",
  "version": "2.0.2",
  "source": {
    "repo": "wp-kit",
    "ref": "v2.0.3",
    "refType": "tag",
    "linkRef": "v2.0.3"
  },
  "docs": "/docs/wp-kit/hooks/",
  "hooks": [
    {
      "name": "mmwp_kit_operation_before_run",
      "type": "action",
      "group": "Execution path (Operation::run())",
      "dynamic": false,
      "deprecated": false,
      "since": "0.1.0",
      "summary": "Fires before an operation's service method runs.",
      "params": [
        {
          "name": "$op",
          "type": "Operation",
          "description": "Operation."
        },
        {
          "name": "$input",
          "type": "array",
          "description": "Normalised input."
        },
        {
          "name": "$ctx",
          "type": "Context",
          "description": "Invocation context."
        }
      ],
      "anchor": "/docs/wp-kit/hooks/#mmwp_kit_operation_before_run",
      "source": "https://github.com/mammothwp/wp-kit/blob/v2.0.3/src/Operation.php#L529"
    },
    {
      "name": "mmwp_kit_operation_capability",
      "type": "filter",
      "group": "Execution path (Operation::run())",
      "dynamic": false,
      "deprecated": false,
      "since": "0.1.0",
      "summary": "Filter the capability required by an operation.",
      "params": [
        {
          "name": "$resolved",
          "type": "bool|string",
          "description": "Capability string, true (public) or false (denied)."
        },
        {
          "name": "$op",
          "type": "Operation",
          "description": "Operation being authorised."
        },
        {
          "name": "$input",
          "type": "array",
          "description": "Normalised input."
        },
        {
          "name": "$ctx",
          "type": "Context",
          "description": "Invocation context."
        }
      ],
      "anchor": "/docs/wp-kit/hooks/#mmwp_kit_operation_capability",
      "source": "https://github.com/mammothwp/wp-kit/blob/v2.0.3/src/Capability.php#L51"
    },
    {
      "name": "mmwp_kit_operation_result",
      "type": "filter",
      "group": "Execution path (Operation::run())",
      "dynamic": false,
      "deprecated": false,
      "since": "0.1.0",
      "summary": "Filter an operation's result before it reaches the surface adapter.",
      "params": [
        {
          "name": "$result",
          "type": "mixed",
          "description": "Result or WP_Error."
        },
        {
          "name": "$op",
          "type": "Operation",
          "description": "Operation."
        },
        {
          "name": "$input",
          "type": "array",
          "description": "Normalised input."
        },
        {
          "name": "$ctx",
          "type": "Context",
          "description": "Invocation context."
        }
      ],
      "anchor": "/docs/wp-kit/hooks/#mmwp_kit_operation_result",
      "source": "https://github.com/mammothwp/wp-kit/blob/v2.0.3/src/Operation.php#L549"
    },
    {
      "name": "mmwp_kit_booted",
      "type": "action",
      "group": "Lifecycle",
      "dynamic": false,
      "deprecated": false,
      "since": "0.1.0",
      "summary": "Fires once the kit has chosen a copy and installed its autoloader.",
      "params": [
        {
          "name": "$path",
          "type": "string",
          "description": "Directory of the booted copy."
        },
        {
          "name": "$version",
          "type": "string",
          "description": "Version of the booted copy."
        }
      ],
      "anchor": "/docs/wp-kit/hooks/#mmwp_kit_booted",
      "source": "https://github.com/mammothwp/wp-kit/blob/v2.0.3/src/Kit.php#L141"
    },
    {
      "name": "mmwp_kit_registry_ready",
      "type": "action",
      "group": "Lifecycle",
      "dynamic": false,
      "deprecated": false,
      "since": "0.1.0",
      "summary": "Fires once every resource has been declared.",
      "params": [
        {
          "name": "$registry",
          "type": "Registry",
          "description": "The registry."
        }
      ],
      "anchor": "/docs/wp-kit/hooks/#mmwp_kit_registry_ready",
      "source": "https://github.com/mammothwp/wp-kit/blob/v2.0.3/src/Registry.php#L92"
    },
    {
      "name": "mmwp_kit_ability_definitions",
      "type": "filter",
      "group": "Surfaces",
      "dynamic": false,
      "deprecated": false,
      "since": "0.1.0",
      "summary": "Filter the ability definitions of one resource before registration.",
      "params": [
        {
          "name": "$definitions",
          "type": "array<string,array>",
          "description": "Definitions keyed by ability name."
        },
        {
          "name": "$resource",
          "type": "Resource",
          "description": "Owning resource."
        }
      ],
      "anchor": "/docs/wp-kit/hooks/#mmwp_kit_ability_definitions",
      "source": "https://github.com/mammothwp/wp-kit/blob/v2.0.3/src/Adapters/Ability_Adapter.php#L105"
    }
  ]
}