Hey.
I'm trying to add a custom javascript in my theme, but when I do as the Media API documentation says, I get error that says undefined function framework_add_script().
I placed this:
function setup_scripts() {
framework_add_script( 'niceforms', 'niceforms.js' );
}
add_action( 'framework_init', 'setup_scripts' );
In library/media/custom-functions.php
Any ideas on what might be the problem?