0

I want to make a visual editor for that I want when anyone click edit with particle studio then it's open a blank page with his my own layout

enter image description here

I am done with page_row_action

function ps_page_row_actions($actions, $page_object)
    {
        $admin_post_url = admin_url( 'post.php?post=', 'http' );
        $actions['particle_studio'] = '<a href="' . $admin_post_url . $page_object->ID . '&action=ps' . '">' . __('Edit with Particle Studio') . '</a>';

    return $actions;
    }   
add_filter('page_row_actions', 'ps_page_row_actions', 10, 2)

How can i go post.php?post=3&action=pspage with my own layout

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.