How can I hide a category

Hi. Is it possible to hide parent categories while adding an ad?
I have this code:

	function( $form ) {
			$form['fields']['categories']['type'] = 'checkboxes';
		return $form;

Thanks to this I have such an effect, but I would like to hide the “baza” category and block the possibility of adding ads to the “obozy” category

I would also like to hide these fields from the search engine.

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

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