Project

General

Profile

Actions

Feature proposal #7138

open

Redesign trigger usage

Added by krileon about 6 years ago. Updated about 6 years ago.

Status:
Assigned
Priority:
Normal
Assignee:
Target version:
Start date:
08 May 2018
Due date:
% Done:

0%

Estimated time:

Description

Currently various triggers send by reference variables for adding content to specific locations. Get rid of this behavior entirely and simply handle it in the return. Example as follows.

return 'test';

A plugin doing that on a trigger would insert to default position.

return array( 'buttons' => 'test' );

A plugin doing that on a trigger would insert to the buttons position.

This will make it easier to add/remove positions without completely breaking the variable order.

Actions

Also available in: Atom PDF