WordPress.org

Ready to get started?Download WordPress

Forums

Render only text to browser (3 posts)

  1. DavieJ
    Member
    Posted 1 year ago #

    Hi all,

    Is there a way to have wordpress send only a blank page with specific text that I specify from my plugin?

    die, wp_die, etc sends everything up to the plugin, so just want to get rid of that and send only a line of text back.

  2. atyq
    Member
    Posted 1 year ago #

    Make a template-page for this...

  3. DavieJ
    Member
    Posted 1 year ago #

    atyq

    Could you give a bit more info please?

    This is wp-admin side, I need to stop the rendering of all html before my plugin and send only my line of text back.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.