Navigation überspringen

[Geschlossen] Cannot filter the repeatable field by current login author

This support ticket is created vor 3 Jahre, 6 Monaten. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)

Dieses Thema enthält 2 Antworten, hat 2 Stimmen.

Zuletzt aktualisiert von Waqar vor 3 Jahre, 6 Monaten.

Assistiert von: Waqar.

Author
Artikel
#2238765
Screenshot 2021-12-07 at 3.34.14 PM.png

Dear Sir/Madam,

When user register, system will create a CPT 'vfmember' and then create a list of repeatable items under the CPT. I insert the repeatable items using below script where $author_id is current logged in author.

                $todo_args = array(
                      'post_title'      => sprintf("%s", get_the_title()),
                      'post_content'    => '',
                      'post_type'       => 'todo-list',
                      'post_status'     => 'publish',
                      'post_author'     => $author_id
                    );
                $todo = wp_insert_post($todo_args);

Why can I filter the repeatable items by current logged in author?

#2238787

Hi,

To troubleshoot this, I'll need to see how this view is set up and the custom code that programmatically adds the repeatable field group entries.

Can you please share temporary admin login details along with the information about the two items mentioned above?

Note: Your next reply will be private and it is recommended to make a complete backup copy, before sharing the access details.

regards,
Waqar

#2239801

Thank you for sharing the admin access.

I'll recommend using an actual test user and using a different browser in a regular tab, for the most accurate testing of user-related features.

The incognito mode and the user switching plugin can't properly represent the actual user experience and result in unexpected behavior.

Please take your time and if you still see something off, share the exact steps to see the issue.

Das Thema „[Geschlossen] Cannot filter the repeatable field by current login author“ ist für neue Antworten geschlossen.