WordPress.org

Make WordPress Core

Ticket #15834: test-plugin-action-links.php

File test-plugin-action-links.php, 203 bytes (added by scribu, 4 years ago)
Line 
1<?php
2
3function test_action_links($actions) {
4        foreach ( range(1, 7) as $i ) {
5                $actions[] = "<a href='#'>Action $i</a>";
6        }
7
8        return $actions;
9}
10add_filter('plugin_action_links', 'test_action_links');