New answers tagged

0 votes

Cannot get user's ACF data when using a template part in a WP_User_Query

You need to pass the variables to the template using the 3rd parameter of get_template_part: get_template_part( string $slug, string|null $name = null, array $args = array() ): void|false https://...
Tom J Nowell's user avatar
  • 58.3k

Top 50 recent answers are included