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

WordPress Trac noreply at wordpress.org
Fri Apr 26 03:15:35 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 kevinwhoffman):

 Replying to [comment:6 costdev]:
 > I think that's where "configuration" and "initial configuration" don't
 need to be differentiated by a Core feature, but rather by a plugin
 detecting whether the user has done an initial configuration yet.

 Well said, we're on the same page here. Configuration is always possible,
 but the nature of the configuration depends on what has already been done
 (or not).

 > On hook vs plugin header, I'd lean towards a filter hook because the
 plugin author should be able to decide whether to point it to a URL which
 determines whether to show onboarding vs settings, or to have separate
 URLs and conditionally return one of them in the filter's callback

 Agreed, a filter would be more powerful. I initially liked the simplicity
 of a plugin header field, but conditional scenarios could be handled much
 better through a filter. It's also worth noting some of these onboarding
 URLs can look pretty funky, so including a partial path in the plugin
 header would likely confuse new developers who don't know exactly what
 it's for.

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


More information about the wp-trac mailing list