Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- function acme_woocomerce_custom_archive_description() {
- if( !function_exists( 'get_field' ) ) {
- return;
- }
- $term = get_queried_object();
- if( !empty( get_field( 'kategoria_leiras', $term ) ) ) {
- echo wp_kses_post( wpautop( get_field( 'kategoria_leiras', $term ) ) );
- }
- }
- add_action( 'woocommerce_archive_description', 'acme_woocomerce_custom_archive_description' );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement