[wp-trac] [WordPress Trac] #61040: Provide a framework for plugin onboarding experiences

WordPress Trac noreply at wordpress.org
Mon May 13 10:12:01 UTC 2024


#61040: Provide a framework for plugin onboarding experiences
-------------------------+------------------------------
 Reporter:  jorbin       |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Plugins      |     Version:
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:  administration
-------------------------+------------------------------

Comment (by alanfuller):

 Are we in agreement we need 3 steps?
 1. Add
 2. Activate
 3. Setup / configure / onboard - optional - controlled by plugin
 developer?

 If so

 Once the screen greys out Activate  the in PHP I would lik eto be able to
 do this approximately

 add_filter ('plugin_post_activate_link', function() {
    return  array (
       'link => admin_url('my_settings_page'),
       'button_text' => esc_html('Start Wizard','my-plugin-domain')
     ) };

 and also have a hook like

 add_action ('plugin_post_activate_link_clicked', function() {
      do_my_onboarding_screens();
 } );

 [[Image(https://i.ibb.co/BnPpBdH/2024-05-13-11-01.png)]]

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/61040#comment:41>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list