Support » Plugin: Custom Field Suite » [Solution] $cfs is not defined in v2.5.9+

  • ResolvedPlugin Author Matt Gibbs

    (@mgibbs189)


    If your custom fields aren’t loading in CFS 2.5.9+, this is because you need to switch from $cfs to CFS().

    // old
    $cfs->get( 'my_field' );
    
    // new
    CFS()->get( 'my_field' );
    
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Solution] $cfs is not defined in v2.5.9+’ is closed to new replies.