yoast_free_additional_metabox_sections

yoast_free_additional_metabox_sections

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-seo.24.8.1

apply_filters('yoast_free_additional_metabox_sections') is found 1 times:

  • /admin/metabox/class-metabox.php line 481
    477
    478
    479
    480
    481
    482
    483
    484
    485
    486
    487
    *          }
     *     }
     * }
     */
    $requested_tabs = apply_filters( 'yoast_free_additional_metabox_sections', [] );
     
    foreach ( $requested_tabs as $tab ) {
        if ( is_array( $tab ) && array_key_exists( 'name', $tab ) && array_key_exists( 'link_content', $tab ) && array_key_exists( 'content', $tab ) ) {
            $options = array_key_exists( 'options', $tab ) ? $tab['options'] : [];
            $tabs[]  = new WPSEO_Metabox_Section_Additional(
                $tab['name'],