theme customizer – Widget Modification

I want to modify a tiny aspect of a widget I currently use, it came with the theme or perhaps the recommended theme toolkit plugin… not sure which.

The widget displays featured pages on the homepage but I’d prefer it to display category instead or the option of both with the same design and style.

I figured I could modify it with the code but I can’t seem to find it.

Anyone know how I can go about fixing this?

I found the code from the parent theme’s function.php

”’
/**

  • Featured Section
    */
    function blossom_feminine_featured_section(){
    $ed_featured = get_theme_mod( ‘ed_featured_area’, true );
    $featured_page_one = get_theme_mod( ‘featured_content_one’ );
    $featured_page_two = get_theme_mod( ‘featured_content_two’ );
    $featured_page_three = get_theme_mod( ‘featured_content_three’ );
    $featured_pages = array( $featured_page_one, $featured_page_two, $featured_page_three );
    $featured_page = array_diff( array_unique( $featured_page), array( ” ) );

    if( is_home() && $ed_featured && $featured_pages ){
    $args = array(
    ‘post_type’ => ‘page’,
    ‘post_status’ => ‘publish’,
    ‘posts_per_page’ => -1,
    ‘post__in’ => $featured_pages,
    ‘orderby’ => ‘post__in’
    );
    ”’