checking if plugin is empty and if so return while filtering the plugins url