Custom Post Widget
[resolved] add_content_block_icon() (3 posts)

  1. Ann Lickander
    Posted 3 years ago #


    add_content_block_icon() does not return the filter data properly. Right now it's echoing the data and this will break other plugins using the same filter (such as Gravity Forms).

    Here's an updated version: https://gist.github.com/annlickander/5525789


  2. Johan van der Wijk
    Plugin Author

    Posted 3 years ago #

    Hi Ann,

    When I use your code the button is not displayed, and I have not found any conflict with the Gravity Forms plugin. Any idea why your code does not work for me? Could it be that Gravity Forms has fixed this?

  3. Ann Lickander
    Posted 3 years ago #


    You seem to be absolutely right, it does not seem to be a conflict anymore. I honestly don't know why I got it to not work earlier, and then to work with my code.

    The only difference I can see is that when the problem occured I used an older version of your plugin, version 1.9.5 and I probably used an older version of Gravity Forms as well which might have caused this problem.

    Anyways, it all seems to work now. Thank you for a great plugin :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Custom Post Widget
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic