Increase Maximum Blocked Keywords in Messages


At the moment, only 272 lines are allowed in the blocked keywords section for the messages extension in the settings. Is there a way to increase this? I actually have almost 10,000 I’d like to add.

I’m fine locating a file in the plugin files and inserting a list there if it’s possible, or maybe you have a PHP snippet?

Thank you,

Please try this PHP snippet but please note that it can require further customization

	function( $settings ) {
			$settings['messages']['sections']['sending']['fields']['message_blocked_keywords']['max_length'] = 10000;
		return $settings;

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.