Show excerpt for non-logged-in users or limited (low level) logged-in user
-
I copy code from this gist:
https://gist.github.com/nikitasinelnikov/75ec8bba8b70ad320b7c4887fc5a8d7d
I’m using the latest version of UM and unfortunately this code above (functions.php) does not result in excerpt availability in the post list. He doesn’t seem to be called at all, because I added the following code in the um_custom_data_restricted_singular_post() method:
phpinfo();
die;and nothing happened.
Does the filter um_restricted_singular_post still exist? Maybe it has a different name?
How to get blocked only for post content, without titles and without excerpt?
- The topic ‘Show excerpt for non-logged-in users or limited (low level) logged-in user’ is closed to new replies.