Filter Hooks

Modify the main query of team members.
@param-1: Array: WP_Query Args.
apply_filters( 'gs_team_wp_query_args', $args );

Modify the size of team member images.
@param-1: [String, Array]: Standard media size.
@param-2: Post_ID: Current member ID.
apply_filters( 'gs_team_member_thumbnail_size', $size, $member_id );

Modify the team member image class.
@param-1: Array: CSS classes for media.
apply_filters( 'gs_team_thumbnail_classes', $classes );

Modify the HTML of team member image.
@param-1: HTML: Member image HTML.
@param-2: Post_ID: Current member ID.
apply_filters( 'gs_team_member_thumbnail_html', $thumbnail, $member_id );

Modify the size of team member secondary images - flip image.
@param-1: [String, Array]: Standard media size.
@param-2: Post_ID: Current member ID.
apply_filters( 'gs_team_member_secondary_thumbnail_size', $size, $member_id );

Modify the team member secondary image class - flip image.
@param-1: Array: CSS classes for media.
apply_filters( 'gs_team_secondary_thumbnail_classes', $classes );

Modify the HTML of team member secondary image - flip image.
@param-1: HTML: Member secondary image HTML.
@param-2: Post_ID: Current member ID.
apply_filters( 'gs_team_member_secondary_thumbnail_html', $thumbnail, $member_id );

Modify the args of paginate_links function for team members pagination.
@param-1: Array: Standard paginate_links params.
apply_filters( 'gs_team_paginate_params', $paginate_params );

Modify the HTML of pagination links.
@param-1: HTML: Pagination links HTML.
apply_filters( 'gs_team_paginate_links', $paginate_links );

Modify the style dependency during wp_register_style function.
@param-1 Array: Dependency style handler names.
apply_filters( $handler . '--style', $style_dependencies );

Modify the script dependency during wp_register_script function.
@param-1 Array: Dependency script handler names.
apply_filters( $handler . '--script', $script_dependencies );

Modify the style dependency during wp_enqueue_style function.
@param-1 Array: Dependency style handler names.
apply_filters( $handler . '--style-enqueue', $style_dependencies );

Modify the script dependency during wp_enqueue_script function.
@param-1 Array: Dependency script handler names.
apply_filters( $handler . '--script-enqueue', $script_dependencies );

Modify the script dependency before registration.
@param-1: Array: list of style handler for public view.
apply_filters( 'gs_team_public__style_all', $assets );

Modify the script dependency before registration.
@param-1: Array: list of script handler for public view.
apply_filters( 'gs_team_public__script_all', $assets );

Modify the script dependency before registration.
@param-1: Array: list of style handler for admin area.
apply_filters( 'gs_team_admin__style_all', $assets );

Modify the script dependency before registration.
@param-1: Array: list of script handler for admin area.
apply_filters( 'gs_team_admin__script_all', $assets );

Change the folder path of teamplates.
@param-1: File Path: path of the folder where you want to keep overriden templates of gs-team plugin.
apply_filters( 'gsteam_templates_folder', 'gs-team' );

Enable/Disable the third party addon integration.
@param-1: Boolean: To toggle the addon integration.
apply_filters( 'gs_team_integration_elementor', true );

Enable/Disable the third party addon integration.
@param-1: Boolean: To toggle the addon integration.
apply_filters( 'gs_team_integration_wpb_vc', true );

Enable/Disable the third party addon integration.
@param-1: Boolean: To toggle the addon integration.
apply_filters( 'gs_team_integration_gutenberg', true );

Enable/Disable the third party addon integration.
@param-1: Boolean: To toggle the addon integration.
apply_filters( 'gs_team_integration_divi', true );

Modify the skills of a member manually.
@param-1: Array: List of skills.
@param-2: Post_ID: Current member ID.
apply_filters( 'gs_team_member_skills', $skills, $member_id );

Show/Hide the Skills text before memebr skills.
@param-1: Boolean: To toggle show/hide the heading.
@param-2: Array: Member's skills list.
@param-3: Post_ID: Member ID.
apply_filters( 'gs_team_member_is_skills_title', $is_skills_title, $skills, $member_id );

Modify the social links of a member.
@param-1: Array: list of social links.
@param-2: Post_ID: Member ID.
apply_filters( 'gs_team_member_social_links', $social_links, $member_id );

Filter Hooks for ACF


To Change on website field
add_filter( 'acf/load_value/name=website', function( $value ) {
    if ( empty($value) || is_admin() ) return $value;
    return sprintf( '<a href="%1$s" target="_blank" rel="noopener">%1$s</a>', $value );
});

To Change all URL type fields
add_filter( 'acf/load_value/type=url', function( $value ) {
    if ( empty($value) || is_admin() ) return $value;
    return sprintf( '<a href="%1$s" target="_blank" rel="noopener">%1$s</a>', $value );
});