Last active
July 1, 2022 14:01
-
-
Save steroyle/49e092d862f89967c9d269b176b3bb2f to your computer and use it in GitHub Desktop.
Get a list of WordPress post using a specific ACF Block
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT | |
ID, post_title, post_content, post_name | |
FROM | |
wp_posts | |
WHERE | |
post_content | |
LIKE | |
'%wp:acf/block-name%' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment