Override thewire/add

Hi,

I seem to be overlooking something when attempting to override the 'add' action of thewire plugin.  In my plugins start.php init function I have:

elgg_register_action('thewire/add', __DIR__, . '/actions/thewire/add.php');

I have copied the ../vendor/elgg/elgg/mod/thewire/actions/add.php to my /var/www/html/mod/myplugin/actions/thewire/ directory and given all of the appropriate permissions on the file.  I've added a few debug lines near the top of the file just to see if the action is registered correctly, but whenever I go to post a wire it seems my action isn't getting hit.  Any help would be appreciated.  I'm using elgg 2.3.14.

 

 

Beginning Developers

Beginning Developers

This space is for newcomers, who wish to build a new plugin or to customize an existing one to their liking