wp_default_packages_inline_scripts example


function wp_default_packages( $scripts ) {
    wp_default_packages_vendor( $scripts );
    wp_register_development_scripts( $scripts );
    wp_register_tinymce_scripts( $scripts );
    wp_default_packages_scripts( $scripts );

    if ( did_action( 'init' ) ) {
        wp_default_packages_inline_scripts( $scripts );
    }
}

/** * Returns the suffix that can be used for the scripts. * * There are two suffix types, the normal one and the dev suffix. * * @since 5.0.0 * * @param string $type The type of suffix to retrieve. * @return string The script suffix. */
Home | Imprint | This part of the site doesn't use cookies.