Title: WP_Plugin_Install_List_Table::get_more_details_link
Published: April 3, 2024
Last modified: August 20, 2026

---

# WP_Plugin_Install_List_Table::get_more_details_link( string $name, string $slug ): string

## In this article

 * [Parameters](https://developer.wordpress.org/reference/classes/wp_plugin_install_list_table/get_more_details_link/?output_format=md#parameters)
 * [Return](https://developer.wordpress.org/reference/classes/wp_plugin_install_list_table/get_more_details_link/?output_format=md#return)
 * [Source](https://developer.wordpress.org/reference/classes/wp_plugin_install_list_table/get_more_details_link/?output_format=md#source)
 * [Related](https://developer.wordpress.org/reference/classes/wp_plugin_install_list_table/get_more_details_link/?output_format=md#related)
 * [Changelog](https://developer.wordpress.org/reference/classes/wp_plugin_install_list_table/get_more_details_link/?output_format=md#changelog)

[ Back to top](https://developer.wordpress.org/reference/classes/wp_plugin_install_list_table/get_more_details_link/?output_format=md#wp--skip-link--target)

Creates a ‘More details’ link for the plugin.

## 󠀁[Parameters](https://developer.wordpress.org/reference/classes/wp_plugin_install_list_table/get_more_details_link/?output_format=md#parameters)󠁿

 `$name`stringrequired

The plugin’s name.

`$slug`stringrequired

The plugin’s slug.

## 󠀁[Return](https://developer.wordpress.org/reference/classes/wp_plugin_install_list_table/get_more_details_link/?output_format=md#return)󠁿

 string The ‘More details’ link for the plugin.

## 󠀁[Source](https://developer.wordpress.org/reference/classes/wp_plugin_install_list_table/get_more_details_link/?output_format=md#source)󠁿

    ```php
    protected function get_more_details_link( $name, $slug ) {
    	$url = add_query_arg(
    		array(
    			'tab'       => 'plugin-information',
    			'plugin'    => $slug,
    			'TB_iframe' => 'true',
    			'width'     => '600',
    			'height'    => '550',
    		),
    		network_admin_url( 'plugin-install.php' )
    	);

    	$more_details_link = sprintf(
    		'<a href="%1$s" class="more-details-link thickbox open-plugin-details-modal" aria-label="%2$s" data-title="%3$s">%4$s</a>',
    		esc_url( $url ),
    		/* translators: %s: Plugin name. */
    		sprintf( __( 'More information about %s' ), esc_html( $name ) ),
    		esc_attr( $name ),
    		__( 'More Details' )
    	);

    	return $more_details_link;
    }
    ```

[View all references](https://developer.wordpress.org/reference/files/wp-admin/includes/class-wp-plugin-install-list-table.php/)
[View on Trac](https://core.trac.wordpress.org/browser/tags/7.1/src/wp-admin/includes/class-wp-plugin-install-list-table.php#L817)
[View on GitHub](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-admin/includes/class-wp-plugin-install-list-table.php#L817-L839)

## 󠀁[Related](https://developer.wordpress.org/reference/classes/wp_plugin_install_list_table/get_more_details_link/?output_format=md#related)󠁿

| Uses | Description | 
| [network_admin_url()](https://developer.wordpress.org/reference/functions/network_admin_url/)`wp-includes/link-template.php` |

Retrieves the URL to the admin area for the network.

  | 
| [__()](https://developer.wordpress.org/reference/functions/__/)`wp-includes/l10n.php` |

Retrieves the translation of $text.

  | 
| [esc_url()](https://developer.wordpress.org/reference/functions/esc_url/)`wp-includes/formatting.php` |

Checks and cleans a URL.

  | 
| [esc_html()](https://developer.wordpress.org/reference/functions/esc_html/)`wp-includes/formatting.php` |

Escaping for HTML blocks.

  | 
| [esc_attr()](https://developer.wordpress.org/reference/functions/esc_attr/)`wp-includes/formatting.php` |

Escaping for HTML attributes.

  | 
| [add_query_arg()](https://developer.wordpress.org/reference/functions/add_query_arg/)`wp-includes/functions.php` |

Retrieves a modified URL query string.

  |

[Show 4 more](https://developer.wordpress.org/reference/classes/wp_plugin_install_list_table/get_more_details_link/?output_format=md#)
[Show less](https://developer.wordpress.org/reference/classes/wp_plugin_install_list_table/get_more_details_link/?output_format=md#)

| Used by | Description | 
| [WP_Plugin_Install_List_Table::get_dependencies_notice()](https://developer.wordpress.org/reference/classes/wp_plugin_install_list_table/get_dependencies_notice/)`wp-admin/includes/class-wp-plugin-install-list-table.php` |

Returns a notice containing a list of dependencies required by the plugin.

  |

## 󠀁[Changelog](https://developer.wordpress.org/reference/classes/wp_plugin_install_list_table/get_more_details_link/?output_format=md#changelog)󠁿

| Version | Description | 
| [6.5.0](https://developer.wordpress.org/reference/since/6.5.0/) | Introduced. |

## User Contributed Notes

You must [log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Fclasses%2Fwp_plugin_install_list_table%2Fget_more_details_link%2F)
before being able to contribute a note or feedback.