How restrict some data for some users?
-
Hello!
I need a professional advise.
I need a simple function that will block&replace some WP-WooC database widely used data (as Site Name, User Name, Taxonomies, Products Attributes, etc) from unregistered users. For example authors names will shown for unregistered users as “Register to see”. So I want to make a function that will be like a low-level filter and will work with ALL OTHER plugins by blocking&replacing chosen info for them too.
I hear opinion from one developer, that “WooCoomerce hooks” cannot guaranty that this function will work with all other plugins and custom pages etc. Also a working logic is a pile-jumble with extra work and maybe not secure because protected info will be replaced after retrieving. But I want to block even retrieving of this info for all Wp-WooC requests-plugins!
What method you suggest? Does WP-WooC support low-level filters direct at MySQL DB?
- The topic ‘How restrict some data for some users?’ is closed to new replies.