The pagination meta data contain an attribute total. This should reflect the total number of responses for the current query. As far as I can tell it contains the total number of menus in your plugin. So even if I filter them (e.g. by slug) it tells me all my menus and not only those returned by the filter conditions.
The pagination meta data contain an attribute
total
. This should reflect the total number of responses for the current query. As far as I can tell it contains the total number of menus in your plugin. So even if I filter them (e.g. byslug
) it tells me all my menus and not only those returned by the filter conditions.