Skip Navigation

[Resuelto] Trying to limit a CPT (Profile) to only be viewable by its author + roles

This support ticket is created hace 5 años, 3 meses. There's a good chance that you are reading advice that it now obsolete.
Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

Este tema contiene 0 respuestas, tiene 1 mensaje.

Última actualización por Gerard hace 5 años, 3 meses.

Asistido por: Shane.

Autor
Mensajes
#1313389

I am using a CPT for user profiles.

I'd like to limit viewing this CPT only to itss author, or Administrator/Editor. I thought I'd find a solution using Access but so far no luck. I also tried searching through the previous tickets but no luck there so far either

What's the best and surest way to make a CPT only viewable by its author? At the query level?

I'm using Gutenberg and Toolset Blocks, if it makes a difference. First time..