Support » Plugins » Turn Hacks into a Plugin?

  • Hi, I’ve been applying some hacks to my wordpress installation – like adding additional parameters to some functions and using specific db queries in that case.

    Would it be possible to turn these hacks, say, a specific get_categories function into a plugin so it would be safe in case of an update?

    I’ve never written a plugin, so if it’s possible, would this be simple or time consuming if the hack in the source is working well?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hacks should always be turned into a plugin. You’ll soon forget why and how you did the hacks but if it’s a plugin it could be well documented with clean interface. You’ll have nothing to worry about even if you switch between themes.

    It’s not difficult at all.

    Thanks – I’ll try it :).

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Turn Hacks into a Plugin?’ is closed to new replies.