Since: 2.0
pods_do_hook
Standardize filters / actions
Function Definition
function pods_do_hook ( $scope, $name, $args = null, &$obj = null )
Source File: /pods/includes/general.php
Parameters
Parameter | Type | Details |
---|---|---|
$scope | (string) | Scope of the filter / action (ui for PodsUI, api for PodsAPI, etc..) |
$name | (string) | Name of filter / action to run |
$args | (mixed) | (optional) Arguments to send to filter / action |
$obj | (object) | (optional) Object to reference for filter / action |
Returns
(mixed)