Admin ajax request return 0 with die() (1 post)

  1. Iperdesign_IT
    Posted 4 years ago #

    So i'm using this configuration for an AJAX call in the administrative area ( like this http://codex.wordpress.org/AJAX_in_Plugins#Ajax_on_the_Administration_Side )

    [Code moderated as per the Forum Rules. The maximum number of lines of code that you can post in these forums is ten lines. Please use the pastebin]

    It's just a test code, but it always return 0 instead of the string "attivato". It also find the ajax url correctly, without a 404 error. What is the problem? :(

Topic Closed

This topic has been closed to new replies.

About this Topic