
Toolbar Extras in version 1.4.3 added a new feature which can be optionally enabled via a filter. This feature adds all individual snippets from the Code Snippets plugin as a listing of sub items to the Code Snippets main item within the Site Group.
That way you easily access these snippets to tweak them if needed. This could be useful when developing new sites/ projects in general for developers.
The snippets listing / snippet as item gets activated via this this short filter function snippet:
add_filter( 'tbex_filter_codesnippets_listing', '__return_true' );
Code language: PHP (php)
Insert this snippet into a core functionality plugin, or also into Code Snippets itself 😉
- Tagged Under:
- Code Snippet