Title: Erik Joling's Replies | WordPress.org

---

# Erik Joling

  [  ](https://wordpress.org/support/users/ejoling/)

 *   [Profile](https://wordpress.org/support/users/ejoling/)
 *   [Topics Started](https://wordpress.org/support/users/ejoling/topics/)
 *   [Replies Created](https://wordpress.org/support/users/ejoling/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/ejoling/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/ejoling/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/ejoling/engagements/)
 *   [Favorites](https://wordpress.org/support/users/ejoling/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 18 total)

1 [2](https://wordpress.org/support/users/ejoling/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/ejoling/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Block Manager] Block manage not usable with version 2.0.0](https://wordpress.org/support/topic/block-manage-not-usable-with-version-2-0-0/)
 *  Thread Starter [Erik Joling](https://wordpress.org/support/users/ejoling/)
 * (@ejoling)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/block-manage-not-usable-with-version-2-0-0/#post-17153159)
 * I think it has to do with the data in the database. When I clear the option value
   for `gbm_disabled_blocks`, the settings page for blocks works again.
 * You could try this data 🙂
 *     ```wp-block-code
       a:97:{i:1;s:28:"variation;core/embed;twitter";i:3;s:29:"variation;core/embed;facebook";i:4;s:30:"variation;core/embed;instagram";i:5;s:30:"variation;core/embed;wordpress";i:6;s:31:"variation;core/embed;soundcloud";i:7;s:28:"variation;core/embed;spotify";i:8;s:27:"variation;core/embed;flickr";i:10;s:28:"variation;core/embed;animoto";i:11;s:28:"variation;core/embed;cloudup";i:12;s:33:"variation;core/embed;collegehumor";i:13;s:32:"variation;core/embed;crowdsignal";i:14;s:32:"variation;core/embed;dailymotion";i:15;s:26:"variation;core/embed;imgur";i:16;s:26:"variation;core/embed;issuu";i:17;s:32:"variation;core/embed;kickstarter";i:18;s:29:"variation;core/embed;mixcloud";i:19;s:32:"variation;core/embed;pocketcasts";i:20;s:27:"variation;core/embed;reddit";i:21;s:33:"variation;core/embed;reverbnation";i:22;s:31:"variation;core/embed;screencast";i:23;s:27:"variation;core/embed;scribd";i:24;s:31:"variation;core/embed;slideshare";i:25;s:28:"variation;core/embed;smugmug";i:26;s:33:"variation;core/embed;speaker-deck";i:27;s:27:"variation;core/embed;tiktok";i:28;s:24:"variation;core/embed;ted";i:29;s:27:"variation;core/embed;tumblr";i:30;s:31:"variation;core/embed;videopress";i:31;s:33:"variation;core/embed;wordpress-tv";i:32;s:34:"variation;core/embed;amazon-kindle";i:33;s:30:"variation;core/embed;pinterest";i:34;s:34:"variation;core/embed;wolfram-cloud";i:35;s:10:"core/audio";i:37;s:9:"core/file";i:38;s:12:"core/gallery";i:40;s:15:"core/media-text";i:41;s:10:"core/video";i:45;s:21:"core/comment-template";i:46;s:20:"core/navigation-link";i:48;s:14:"core/home-link";i:49;s:9:"core/more";i:50;s:13:"core/nextpage";i:54;s:17:"core/text-columns";i:55;s:13:"core/freeform";i:56;s:9:"core/code";i:62;s:17:"core/preformatted";i:63;s:14:"core/pullquote";i:64;s:10:"core/quote";i:65;s:10:"core/table";i:66;s:10:"core/verse";i:67;s:11:"core/avatar";i:68;s:24:"core/comment-author-name";i:69;s:22:"core/comment-edit-link";i:70;s:23:"core/comment-reply-link";i:71;s:13:"core/comments";i:72;s:29:"core/comments-pagination-next";i:73;s:32:"core/comments-pagination-numbers";i:74;s:24:"core/comments-pagination";i:75;s:33:"core/comments-pagination-previous";i:76;s:19:"core/comments-title";i:77;s:13:"core/loginout";i:79;s:26:"core/query-pagination-next";i:80;s:21:"core/query-no-results";i:81;s:29:"core/query-pagination-numbers";i:82;s:21:"core/query-pagination";i:83;s:12:"core/pattern";i:84;s:16:"core/post-author";i:85;s:26:"core/post-author-biography";i:86;s:21:"core/post-author-name";i:87;s:23:"core/post-comments-form";i:89;s:14:"core/post-date";i:90;s:17:"core/post-excerpt";i:91;s:24:"core/post-featured-image";i:92;s:25:"core/post-navigation-link";i:93;s:18:"core/post-template";i:94;s:15:"core/post-terms";i:96;s:30:"core/query-pagination-previous";i:97;s:10:"core/query";i:99;s:17:"core/comment-date";i:100;s:20:"core/comment-content";i:101;s:14:"core/read-more";i:103;s:17:"core/site-tagline";i:106;s:21:"core/term-description";i:107;s:13:"core/archives";i:108;s:13:"core/calendar";i:109;s:15:"core/categories";i:110;s:9:"core/html";i:111;s:20:"core/latest-comments";i:112;s:17:"core/latest-posts";i:113;s:14:"core/page-list";i:114;s:19:"core/page-list-item";i:115;s:8:"core/rss";i:116;s:11:"core/search";i:117;s:14:"core/shortcode";i:120;s:14:"core/tag-cloud";i:121;s:16:"core/query-title";i:122;s:15:"core/site-title";}
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Block Manager] Block manage not usable with version 2.0.0](https://wordpress.org/support/topic/block-manage-not-usable-with-version-2-0-0/)
 *  Thread Starter [Erik Joling](https://wordpress.org/support/users/ejoling/)
 * (@ejoling)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/block-manage-not-usable-with-version-2-0-0/#post-17152943)
 * Hi Darren,
 * Thank your for your quick response and further inquiry.
 * I’m using Firefox v118 on Ubuntu. But I just checked Chrome and the same error
   occurs. Also, switching to the Twenty Twenty Three theme doesn’t solve the problem.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Mail logging - WP Mail Catcher] Move WP Mail Catcher to Tools or Settings menu](https://wordpress.org/support/topic/move-wp-mail-catcher-to-tools-or-settings-menu/)
 *  Thread Starter [Erik Joling](https://wordpress.org/support/users/ejoling/)
 * (@ejoling)
 * [3 years ago](https://wordpress.org/support/topic/move-wp-mail-catcher-to-tools-or-settings-menu/#post-16772151)
 * Thanks James, I appreciate the answer. I will check other possibilities in the
   meantime.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[No Nonsense] Improving the user interface](https://wordpress.org/support/topic/improving-the-user-interface/)
 *  Thread Starter [Erik Joling](https://wordpress.org/support/users/ejoling/)
 * (@ejoling)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/improving-the-user-interface/#post-16310874)
 * > the WordPress-appropriate thing to do here should be to honor the user’s selected
   > admin color palette
 * Nicely put 🙂 And I agree using the admin color scheme is an improvement. Thanks
   for your work!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[No Nonsense] My custom utility to easily set preferred options](https://wordpress.org/support/topic/my-custom-utility-to-easily-set-preferred-options/)
 *  Thread Starter [Erik Joling](https://wordpress.org/support/users/ejoling/)
 * (@ejoling)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/my-custom-utility-to-easily-set-preferred-options/#post-16310862)
 * Haha, you’re fast! It looks good. I took it for a simple test-spin and the import
   worked as expected.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[No Nonsense] My custom utility to easily set preferred options](https://wordpress.org/support/topic/my-custom-utility-to-easily-set-preferred-options/)
 *  Thread Starter [Erik Joling](https://wordpress.org/support/users/ejoling/)
 * (@ejoling)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/my-custom-utility-to-easily-set-preferred-options/#post-16303941)
 * Good point yourself 🙂 The usecase for JSON would be to able to easily share 
   a configuration and change some settings directly in the code before importing
   it. Might be an edgecase though.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[No Nonsense] My custom utility to easily set preferred options](https://wordpress.org/support/topic/my-custom-utility-to-easily-set-preferred-options/)
 *  Thread Starter [Erik Joling](https://wordpress.org/support/users/ejoling/)
 * (@ejoling)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/my-custom-utility-to-easily-set-preferred-options/#post-16300412)
 * I don’t know exactly how WordFence does it, but being able to export/import would
   be a welcome addition!
 * I would suggest using the JSON format instead of a hash. That would make it more
   human-readable.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[No Nonsense] Improving the user interface](https://wordpress.org/support/topic/improving-the-user-interface/)
 *  Thread Starter [Erik Joling](https://wordpress.org/support/users/ejoling/)
 * (@ejoling)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/improving-the-user-interface/#post-16300403)
 * Ha, great to see you picked it up this quickly. Thank you!
 * About the tabs:
 * – I definitely like the main tabs.
   – I might need some time to get used to the
   secondary tabs, they seem to overwhelm me a bit. But at the same time they work
   as expected.
 * I think the toggles are somewhat big and colorful in comparison to the rest of
   the UI. They draw a lot of attention.
 * Just my two cents 🙂 Thanks for your work!
    -  This reply was modified 3 years, 6 months ago by [Erik Joling](https://wordpress.org/support/users/ejoling/).
    -  This reply was modified 3 years, 6 months ago by [Erik Joling](https://wordpress.org/support/users/ejoling/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[No Nonsense] Feature request: allow developers to extend or change the options](https://wordpress.org/support/topic/feature-request-allow-developers-to-extend-or-change-the-options/)
 *  Thread Starter [Erik Joling](https://wordpress.org/support/users/ejoling/)
 * (@ejoling)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/feature-request-allow-developers-to-extend-or-change-the-options/#post-15837567)
 * I just tested the filters in my theme again, this time with No Nonsense v2.40.
   And it worked: I could disable utilities and settings.
 * But I ran into a problem adding a setting using the following code:
 *     ```
       add_filter('r34nono_define_settings_array', function($settings) {
   
       	// Adding a setting
       	$settings['erik_nono_test'] = array(
       		'title' => 'Erik Nono Test',
       		'description' => 'This is what my function does.',
       		'hook_type' => 'action',
       		'hook' => 'init',
       		'priority' => 10,
       		'pn' => 0,
       		'group' => 'My Custom Heading',
       		'show_in_admin' => true,
       	);
   
       	return $settings;
       });
   
       function erik_nono_test() {
       	error_log('erik_nono_test');
       }
       ```
   
 * The setting was nicely added to the interface, but I couldn’t enable it. The 
   setting wasn’t stored to the database.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[No Nonsense] Feature request: allow developers to extend or change the options](https://wordpress.org/support/topic/feature-request-allow-developers-to-extend-or-change-the-options/)
 *  Thread Starter [Erik Joling](https://wordpress.org/support/users/ejoling/)
 * (@ejoling)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/feature-request-allow-developers-to-extend-or-change-the-options/#post-15828012)
 * I added a public gist for manipulating the settings through code.
 * [https://gist.github.com/erikjoling/4eae6fe325db95e327a933e11cdad342](https://gist.github.com/erikjoling/4eae6fe325db95e327a933e11cdad342)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[No Nonsense] Feature request: allow developers to extend or change the options](https://wordpress.org/support/topic/feature-request-allow-developers-to-extend-or-change-the-options/)
 *  Thread Starter [Erik Joling](https://wordpress.org/support/users/ejoling/)
 * (@ejoling)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/feature-request-allow-developers-to-extend-or-change-the-options/#post-15827860)
 * Maybe you could add the option names to the documentation:
 *     ```
       r34nono_remove_posts_from_admin => BOOL
       r34nono_remove_comments_from_admin => BOOL
       r34nono_remove_dashboard_widgets => BOOL
       r34nono_remove_dashboard_widgets_options => ARRAY
       r34nono_remove_admin_color_scheme_picker => BOOL
       r34nono_redirect_admin_to_homepage_for_logged_in_non_editors => BOOL
       r34nono_redirect_admin_to_homepage_for_logged_in_non_editors_options => ARRAY
       r34nono_limit_admin_elements_for_logged_in_non_editors => BOOL
       r34nono_remove_edit_site => BOOL
       r34nono_remove_duotone_svg_filters => BOOL
       r34nono_remove_default_block_patterns => BOOL
       r34nono_remove_widgets_block_editor => BOOL
       r34nono_disallow_full_site_editing => BOOL
       r34nono_disable_site_search => BOOL
       r34nono_remove_wp_emoji => BOOL
       r34nono_remove_front_end_edit_links => BOOL
       r34nono_remove_head_tags => BOOL
       r34nono_remove_head_tags_options => ARRAY
       r34nono_remove_comments_from_front_end => BOOL
       r34nono_login_replace_wp_logo_link => BOOL
       r34nono_remove_admin_email_check_interval => BOOL
       r34nono_remove_admin_wp_logo => BOOL
       r34nono_admin_bar_logout_link => BOOL
       r34nono_hide_admin_bar_for_logged_in_non_editors => BOOL
       r34nono_remove_howdy => BOOL
       r34nono_auto_core_update_send_email_only_on_error => BOOL
       r34nono_xmlrpc_disabled => BOOL
       r34nono_xmlrpc_disabled_options => ARRAY
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[No Nonsense] Feature request: allow developers to extend or change the options](https://wordpress.org/support/topic/feature-request-allow-developers-to-extend-or-change-the-options/)
 *  Thread Starter [Erik Joling](https://wordpress.org/support/users/ejoling/)
 * (@ejoling)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/feature-request-allow-developers-to-extend-or-change-the-options/#post-15827759)
 * I’m already thinking of a nice solution for Item #2.
 * Like you say, I can easily update the options in the database. So with the new
   filters I could simply add a utility to set my prefered settings. 😀
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[No Nonsense] Feature request: allow developers to extend or change the options](https://wordpress.org/support/topic/feature-request-allow-developers-to-extend-or-change-the-options/)
 *  Thread Starter [Erik Joling](https://wordpress.org/support/users/ejoling/)
 * (@ejoling)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/feature-request-allow-developers-to-extend-or-change-the-options/#post-15827736)
 * Wow, thanks a lot for your efforts!
 * I tried using the filters from inside a theme, but they don’t trigger.
 *     ```
       ### Functions.php
   
       error_log('test');
   
       add_filter('r34nono_define_utilities_array', function($utilities) {
   
       	write_log('test nononsense 1');
   
       	unset($utilities['r34nono_set_permalink_structure_to_postname']);
       	return $utilities;
       });
   
       ### debug.log
   
       [15-Jul-2022 08:53:23 UTC] test
       ```
   
 * My theory: a theme runs later than plugins, so by default they can’t hook into
   plugin functions. But you might hook your plugin functions to a later hook, so
   themes can use them.
 * The first hook available for themes is `after_setup_theme`, that might work. 
   Or use the `init`-hook. See [https://codex.wordpress.org/Plugin_API/Action_Reference](https://codex.wordpress.org/Plugin_API/Action_Reference).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[No Nonsense] Feature request: disable core block patterns](https://wordpress.org/support/topic/feature-request-disable-core-block-patterns/)
 *  Thread Starter [Erik Joling](https://wordpress.org/support/users/ejoling/)
 * (@ejoling)
 * [4 years ago](https://wordpress.org/support/topic/feature-request-disable-core-block-patterns/#post-15757303)
 * I think we misunderstand each other, but both additions would be nice 😀
 * I see three possible extensions:
 * 1. Allow developers to add their own options to the admin interface.
    2. Allow
   developers to disable/enable options by using code. 3. Allow developers to hide
   some features
 * For me, the list is ordered by what I think is most important.
 * Let me open a different topic for this.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[No Nonsense] Feature request: disable core block patterns](https://wordpress.org/support/topic/feature-request-disable-core-block-patterns/)
 *  Thread Starter [Erik Joling](https://wordpress.org/support/users/ejoling/)
 * (@ejoling)
 * [4 years ago](https://wordpress.org/support/topic/feature-request-disable-core-block-patterns/#post-15755337)
 * Thanks! I’m patiently waiting for the next update 🙂
 * > Are you thinking you’d want to have a way to add more items to the settings
   > page so you’d be able to turn your options on and off?
 * Yes, exactly this. Imagine you as the developer of this plugin don’t want to 
   include the feature to disable core blockpatterns. With a hook I would have the
   possibility to add it myself.
 * I haven’t really dived into the architecture of your code, so I don’t know how
   complicated it might be. But I’ll gladly help.

Viewing 15 replies - 1 through 15 (of 18 total)

1 [2](https://wordpress.org/support/users/ejoling/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/ejoling/replies/page/2/?output_format=md)