Forums

[resolved] Referencing WordPress Codex (1 post)

  1. dcole07
    Member
    Posted 3 years ago #

    Would it be a good idea to use my own functions instead of Codex, then create a reference file where my functions call Codex? It would create a single point between a WordPress Extension and WordPress. If WordPress then changed the name of a function, who ever was updating my extension would only have to change one line, instead of finding every occurrence of that function name within all of the extension files.

    function my_function ($info) {
    wp_function($info);
    }

    Pros? Cons?

Topic Closed

This topic has been closed to new replies.

About this Topic