Open chrisvanpatten opened 10 years ago
If it's not possible to access/maniuplate the CFS class object (which it probably isn't... I don't know much about OOP so forgive me), we should get all our custom methods into our own class. Perhaps $cfsop? (custom field suite options pages)?
$cfsop->add( $title ); $cfsop->remove( $title );
$id = $cfsop->options( $title );
maybe $cfsop->add_page() and $cfsop->remove_page() is more clear?
It'd be great if we could extend the $cfs object for the option ID call. e.g.
$cfs->get('field_name', $cfs->options('Page 1'));