WC_Install::plugin_action_links()
Show action links on the plugin screen.
Method of the class: WC_Install{}
No Hooks.
Return
Array
.
Usage
$result = WC_Install::plugin_action_links( $links );
- $links(mixed) (required)
- Plugin Action links.
WC_Install::plugin_action_links() WC Install::plugin action links code WC 9.4.2
public static function plugin_action_links( $links ) { $action_links = array( 'settings' => '<a href="' . admin_url( 'admin.php?page=wc-settings' ) . '" aria-label="' . esc_attr__( 'View WooCommerce settings', 'woocommerce' ) . '">' . esc_html__( 'Settings', 'woocommerce' ) . '</a>', ); return array_merge( $action_links, $links ); }