AnsPress_Admin::add_action_links( string $links )

Description #

Add settings action link to the plugins page.

Parameters #

  • $links
    string (Required) Pugin action links.

Source #

File: admin/anspress-admin.php

	public static function add_action_links( $links ) {
		return array_merge(
			$links,
			array(
				'settings' => '<a href="' . admin_url( 'admin.php?page=anspress_options' ) . '">' . __( 'Settings', 'anspress-question-answer' ) . '</a>',
			)
		);
	}

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Add your comment