Problem z polami ACF
-
Witam, mam problem z wtyczk? poniewa? nie dzia?a ona wraz ACF Pro. Po przejrzeniu forum znalaz?em poni?szy kod ale on nie rozwi?za? problemu:
function acf_orphans($value, $post_id, $field) { if ( class_exists( 'iworks_orphan' ) ) { $orphan = new \iworks_orphan(); $value = $orphan->replace( $value ); } return $value; } add_filter('acf/format_value/type=textarea', 'acf_orphans', 10, 3); add_filter('acf/format_value/type=wysiwyg', 'acf_orphans', 10, 3); add_filter('acf/format_value', 'acf_orphans', 10, 3);
Czy jest jakie? inne rozwi?zanie?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Problem z polami ACF’ is closed to new replies.