Seravo / wp-custom-bulk-actions

Custom bulk actions for any type of post in wordpress
GNU General Public License v3.0
66 stars 8 forks source link

Notice for Single ID or Multiple IDs. #4

Closed cyberwani closed 9 years ago

cyberwani commented 9 years ago

For Single ID use default structure.

'admin_notice'=>'Appointment cancelled.'

and for Multiple IDs use below structure.

'admin_notice'=>array(
    'single' => '%s Appointment cancelled.',
    'plural' => '%s Appointments cancelled.',
)

Added "is-dismissible" class to close the notice. Changed position to display below post-type name.

onnimonni commented 9 years ago

Thank you very much :)