Support » Plugin: Disable Emojis (GDPR friendly) » Prefix functions

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Ryan Hellyer

    (@ryanhellyer)

    I’m not sure what you mean. All of the functions are prefixed with the plugin slug.

    After nine months I am also not sure anymore 🙂

    I guess I did not recognize “disable_emojis” as being a prefix.

    Update: looking at it again, I still would not see it as a prefix in

    function disable_emojis()

    Plugin Author Ryan Hellyer

    (@ryanhellyer)

    Hmm. I often use the softwares name as a central loading function name or class. I guess in this case, the name is quite short and generic so perhaps that is not the best approach here.

    If I release a new version, or if a clash is ever found, then I’ll definitely update it. In the meantime I’ll just leave it like this to avoid doing a version bump and forcing everyone to upgrade.

    Thanks for your input 🙂

    If anyone reads this later, and feels I should definitely change the function name, please let me know.

    The less generic the function name the better, but 30.000 active installs later and without complaints I would probably also not bother too much 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Prefix functions’ is closed to new replies.