LLMS_Admin_Post_Table_Orders::modify_actions( array $actions, WP_Post $post )

Modify the actions for the orders.


Parameters Parameters

$actions

(array) (Required) Existing actions.

$post

(WP_Post) (Required) Post object.


Top ↑

Return Return

(string[])


Top ↑

Source Source

File: includes/admin/post-types/post-tables/class.llms.admin.post.table.orders.php

	public function modify_actions( $actions, $post ) {

		if ( 'llms_order' !== $post->post_type ) {
			return $actions;
		}

		unset( $actions['inline hide-if-no-js'] );

		return $actions;

	}

Top ↑

Changelog Changelog

Changelog
Version Description
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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