• Hello Shamim! I know you’re busy currently – but I’d like to make a suggestion for future versions. Any chance you could add do_action hooks into the functions? I see there are currently two hooks in the function check() in the fep-announcement-class.php, but it looks like you are currently planning to remove one in a future version?

    // This action hook is DEPRECATED since version 3.4. Use following filter hook instead
    do_action('fep_action_announcement_before_add', $errors);

    Out of curiosity – why remove action hooks? If anything I’d make the suggestion to add more so people can extend your plugin!

    I’d even be willing to add all the hooks for you – let me know if this is something you’d be interested in.

    https://www.ads-software.com/plugins/front-end-pm/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Shamim Hasan

    (@shamim51)

    Thank you for using my plugin and have a look of the code of this plugin.

    there is a filter hook just after this action hook which can do exactly same of this action hook, So why keep both?

    I am passing some busy days here, may be from next week i will get some time to work on this plugin.

    Next month i am planning to release a major version of this plugin. some of the major changes will be

    1. use settings API for backend settings page.
    2. use CPT for both message and announcement. (currently using DB Table)
    3. add new API for front end message table.
    4. Change text domain to match with plugin name so that we can use GlotPress translation
    5. add more filter and action hook

    about 70% works done. As i am the only one working here and can not give more time for this, it is taking some time to finish.

    Any help from any developer is highly appreciated.

    Thread Starter mbacklas

    (@mbacklas)

    Hello Shamim! Looking forward to the new version – my initial suggestion was just to add more hooks over-all in the functions so it could be extended without have to modify the plugin itself – I’ll see what the new version includes and let you know if I have anything that would be worth contributing!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Allow do_action hooks in future versions?’ is closed to new replies.