• Resolved anurodh

    (@anurodh)


    Hello Team ACF,

    Your plugin is very great, but I have a query actually in this plugin you have provided edit post form with elementor this feature is also great but when I enable this feature of the post so it showing to all login author but I want this form only show to the author of that post Kindly help me

Viewing 1 replies (of 1 total)
  • Plugin Author Konrad Chmielewski

    (@hwk-fr)

    Hello,

    Thanks for the feedback. Your question is about general PHP/WordPress development, and not about the ACF Extended plugin itself. It looks like you’ll have to perform some checks in order to display the form or shortcode based on the current logged in user.

    You should take a look at the wp_get_current_user() function, so you can compare it to the current post author to know if you have to display the form or not. See documentation: https://developer.ww.wp.xz.cn/reference/functions/wp_get_current_user/

    Hope it helps!

    Regards.

Viewing 1 replies (of 1 total)

The topic ‘Edit Button show only Post author’ is closed to new replies.