• I recently updated my website and got a undefined function error. I am not sure how to fix it.
    Here is the code that is the problem.

    /* translators: add new file */
    $submenu[‘upload.php’][10] = array( _x(‘Add New’, ‘file’), ‘upload_files’, ‘media-new.php’);
    foreach ( get_taxonomies_for_attachments( ‘objects’ ) as $tax ) {
    if ( ! $tax->show_ui || ! $tax->show_in_menu )
    continue;

    The actual line that is giving me the error is:foreach ( get_taxonomies_for_attachments( ‘objects’ ) as $tax ) {

    Thanks for any help

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Undefined function’ is closed to new replies.