Conversation
supportHello, Thank you for this plugin 馃檪 . It鈥檚 working well but i want to ask: is there a way to allow the request to access the Private Posts of the current logged user ? Regards,
Hi, great question. We will add this option very soon. In the mean time, you can use this code snippet taken from Elementor鈥檚 documentation: https://developers.elementor.com/docs/hooks/custom-query-filter/ /** * Update the query to use specific post statuses. * * @since 1.0.0 * @param \WP_Query $query The WordPress query instance. */ function my_query_by_post_status( $query ) { $query->set( 'post_status', [ 'future', 'draft'] ); } add_action( 'elementor/query/{$query_id}', 'my_query_by_post_status' ); You need to change the {$query_id} to your query id for this to work
I tried this but it simply doesn鈥檛 work. When will this feature be in your plugin? I am waiting to see if we should buy your FrontEnd Admin but i want to see what kind of support you offer. This reply was modified 1 year, 3 months ago by awjensen .
Sorry to hear that. I will make sure we implement this important feature soon
Hi, great question. We will add this option very soon. In the mean time, you can use this code snippet taken from Elementor鈥檚 documentation: https://developers.elementor.com/docs/hooks/custom-query-filter/ /** * Update the query to use specific post statuses. * * @since 1.0.0 * @param \WP_Query $query The WordPress query instance. */ function my_query_by_post_status( $query ) { $query->set( 'post_status', [ 'future', 'draft'] ); } add_action( 'elementor/query/{$query_id}', 'my_query_by_post_status' ); You need to change the {$query_id} to your query id for this to work
I tried this but it simply doesn鈥檛 work. When will this feature be in your plugin? I am waiting to see if we should buy your FrontEnd Admin but i want to see what kind of support you offer. This reply was modified 1 year, 3 months ago by awjensen .
Sorry to hear that. I will make sure we implement this important feature soon