WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. annlickander
    Member
    Posted 1 year ago #

    Hi!

    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

    http://wordpress.org/extend/plugins/custom-post-widget/

  2. Johan van der Wijk
    Member
    Plugin Author

    Posted 1 year 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. annlickander
    Member
    Posted 1 year ago #

    Hi!

    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

About this Topic