WordPress.org

Ready to get started?Download WordPress

Forums

Custom Content Type Manager
Empty array (1 post)

  1. Matteo Legittimo
    Member
    Posted 2 years ago #

    Hi!
    how can i get if:

    $my_array = get_custom_field("casisimili:to_array");

    is empty? It's a repeatable field.

    If:
    $result = count($my_array); --> display 1
    print_r ($my_array); --> display Array ( [0] => )

    http://wordpress.org/extend/plugins/custom-content-type-manager/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic