Noptin_Post_Types::remove_actions( string[] $actions, WP_Post $post )

Filters the array of row action links on the Posts list table.


Parameters Parameters

$actions

(string[]) (Required) An array of row action links. Defaults are 'Edit', 'Quick Edit', 'Restore', 'Trash', 'Delete Permanently', 'Preview', and 'View'.

$post

(WP_Post) (Required) The post object.


Top ↑

Source Source

File: includes/class-noptin-post-types.php

	public function remove_actions( $actions, $post ) {

		if ( 'noptin-form' === $post->post_type ) {
			unset( $actions['inline hide-if-no-js'] );
		}
		return $actions;

	}

Top ↑

User Contributed Notes User Contributed Notes

30 day money back guarantee
Safe & Secure online payment
Custom CSS Slide Example
Custom Animation Example
Default Animation