Inventory_Presser_Customize_Dashboard::insert_settings_link( array $links )

insert_settings_link


Description Description

Adds a link to the settings page near the Activate | Delete links on the list of plugins on the Plugins page.


Top ↑

Parameters Parameters

$links

(array) (Required)


Top ↑

Return Return

(array)


Top ↑

Source Source

File: includes/class-customize-admin-dashboard.php

	function insert_settings_link( $links )
	{
		$url = admin_url( sprintf( 
			'edit.php?post_type=%s&page=dealership-options',
			INVP::POST_TYPE
		) );
		$links[] = sprintf(
			'<a href="%s">%s</a>',
			$url,
			__( 'Settings', 'inventory-presser' )
		);
		return $links;
	}