LifterLMS::add_action_links( string[] $links )

Add plugin settings Action Links


Description Description


Parameters Parameters

$links

(string[]) (Required) Existing action links.


Top ↑

Return Return

(string[])


Top ↑

Source Source

File: class-lifterlms.php

	public function add_action_links( $links ) {

		$lifter_links = array(
			'<a href="' . admin_url( 'admin.php?page=llms-settings' ) . '">' . __( 'Settings', 'lifterlms' ) . '</a>',
		);

		if ( 3 === count( $links ) ) {
			return $links;
		}

		return array_merge( $links, $lifter_links );
	}

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.