# wp-ultimate-post-grid/2.8.2/helpers/plugin_action_link.php

WP Ultimate Post Grid, version 2.8.2. 17 lines.

- Page: https://pluginprobe.com/plugins/wp-ultimate-post-grid/2.8.2/code/helpers/plugin_action_link.php
- Raw: https://pluginprobe.com/plugins/wp-ultimate-post-grid/2.8.2/raw/helpers/plugin_action_link.php
- Modified: 2015-09-27T03:09:12+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/wp-ultimate-post-grid/2.8.2/code/helpers/plugin_action_link.php#L10-L20`.

```php
<?php

class WPUPG_Plugin_Action_Link {

    public function __construct()
    {
        add_filter( 'plugin_action_links_' . WPUltimatePostGrid::get()->corePath . '/wp-ultimate-post-grid.php', array( $this, 'action_links' ) );
    }

    public function action_links( $links )
    {
        $links[] = '<a href="'. get_admin_url( null, 'edit.php?post_type=' . WPUPG_POST_TYPE . '&page=wpupg_admin' ) .'">'.__( 'Settings', 'wp-ultimate-recipe' ).'</a>';
        $links[] = '<a href="http://bootstrapped.ventures" target="_blank">'.__( 'More information', 'wp-ultimate-post-grid' ).'</a>';

        return $links;
    }
}
```
