Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.


Determine whether or an Edit Form node should be added to the admin bar.

Description Description

The user must be able to edit forms and be on a screen with a displayed form.

Top ↑

Return Return


Top ↑

Source Source

File: includes/forms/class-llms-forms-admin-bar.php

	private function should_display() {

		$display = ( current_user_can( LLMS_Forms::instance()->get_capability() ) && $this->get_current_location() );

		 * Filters whether or not the "Edit Form" WP_Admin_Bar node is displayed
		 * @since 5.0.0
		 * @param boolean $display Whether or not to display the node.
		return apply_filters( 'llms_should_display_wp_admin_bar_nodes_for_forms', $display );


Top ↑

User Contributed Notes User Contributed Notes

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