WordPress.org

Ready to get started?Download WordPress

Forums

Need help with editor. (2 posts)

  1. R3dC0d3
    Member
    Posted 1 year ago #

    Hy guys, I need your help.

    I'm trying to create a popup with the wordpress editor inside in the admin side.
    I have something like this.

    add_action('admin_init', 'test_func');
    function test_func(){
    if(isset($_GET['test_funct']) && $_GET['test_func']==0){
    ...code for editor...
    exit;
    }
    }

    The error I get is this: Uncaught ReferenceError: switchEditors is not defined

  2. R3dC0d3
    Member
    Posted 1 year ago #

    anyone...?

Topic Closed

This topic has been closed to new replies.

About this Topic