| lang | php |
|---|
class ExpressionEngine\Model\Addon\Action
[TOC]
This model has no relationships.
This model has no additional methods.
This model has no events.
$action_id = ee('Model')
->get('Action')
->filter('method','your_addon_method')
->first()
->action_id;
// Create a URL to that action.
$action_url = ee()->functions->fetch_site_index(0, 0) . QUERY_MARKER . 'ACT=' . $action_id;