WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Register Plus] Use WP_PLUGIN_URL instead of hard-coding "wp-content" (1 post)

  1. TradingMetro
    Member
    Posted 4 years ago #

    Hi,

    This comment is for the devs of Register Plus.

    Just wanted to say that instead of hard-coding the "wp-content" directory in your code, you might want to use the variable, WP_PLUGIN_URL, because some WordPress installs configure their WP_CONTENT_DIR differently than the default "wp-content".

    Cheers!

Topic Closed

This topic has been closed to new replies.

About this Topic