Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: plugin_install_action_links

To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).

Understanding Source Code

The best way to understand what a hook does is to look at where it occurs in the source code.

Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.

Source View

Line Code
437
438                /**
439                 * Filter the install action links for a plugin.
440                 *
441                 * @since 2.7.0
442                 *
443                 * @param array $action_links An array of plugin action hyperlinks. Defaults are links to Details and Install Now.
444                 * @param array $plugin       The plugin currently being listed.
445                 */
446                $action_links = apply_filters( 'plugin_install_action_links', $action_links, $plugin );
447           ?>
448           <div class="plugin-card">
449                <div class="plugin-card-top">
450                     <a href="<?php echo esc_url( $details_link ); ?>" class="thickbox plugin-icon"><img src="<?php echo esc_attr( $plugin_icon_url ) ?>" /></a>
451                     <div class="name column-name">
452                          <h4><a href="<?php echo esc_url( $details_link ); ?>" class="thickbox"><?php echo $title; ?></a></h4>
453                     </div>
454                     <div class="action-links">
455                          <?php