Closed fai-sal closed 2 years ago
Load block related JavaScript on frontend only if the block is used in that page
Reference : https://developer.wordpress.org/reference/functions/has_block/
FYI: Styles can be loaded following same procedure @zamanq @kawshar bhai
Load block related JavaScript on frontend only if the block is used in that page
Reference : https://developer.wordpress.org/reference/functions/has_block/
FYI: Styles can be loaded following same procedure @zamanq @kawshar bhai