Support

Account

Home Forums Gutenberg Get data from block in different page Reply To: Get data from block in different page

  • @dmchale Thank you for the code, but how do I use it?
    If I want to get the authors name (ACF field) from my Testimonials block on page 2, would I use the following…? what is the selector?

    get_field_from_block( $selector, 2, 'block-49b987a0-a081-4bf7-b7e0-5858d28c9c0a' );

    any help is appreciated.