• Hello

    Sorry for this very newbie question, but I want to know WHERE my plugin file must be before I can test code that uses the WP API, such as:

    $nonce= wp_create_nonce (‘use-pxq-nonce’);

    I have trawled through “How to write a plugin” and know where the final plugin has to be placed in the WP folder hierarchy, but all I want to do now is test my code as I go along.

    Thanks!
    SP

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Starting to write first plugin – where can I test code?’ is closed to new replies.