Conditional Template based on Hook or Filter.

Hello, Elementor has the ability to Conditionally choose templates based on Post Type, Category, Post Id … Is there a code filter or a hook to have greater control.
Example: If post has « post_is_special » meta field (acf for example) and user is logged in then use template 1. else use template 2.

Thank you.

Laisser un commentaire

Votre adresse de messagerie ne sera pas publiée. Les champs obligatoires sont indiqués avec *