Showing sub categories, targeted the length of the description in the block

i would like to use the following code on parent categories, when showing sub categories, targeted the length of the description in the block. I am not sure what to replace

"hivepress/v1/models/listing" with.
add_filter(
	'hivepress/v1/models/listing',
	function( $model ) {
		$model['fields']['title']['max_length']   = 55;

		return $model;
	}
);

Hi,

Sorry, there’s no simple code snippet for this, it would require a custom implementation. If customizations beyond the available features are required for your site, please consider hiring someone for custom work Fiverr - Freelance Services Marketplace

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