Better search on WordPress.org Plugins?

At first, extracting results into a file with: # create a file needed curl –globoff –silent “https://api.wordpress.org/plugins/info/1.2/?action=query_plugins&request[browse]=blocks&request[page]=1&request[per_page]=400” | jq “.plugins[] | { name: .name, url: \”https://wordpress.org/plugins/\\(.slug)/\”, short: .short_description, description: .description }” > wp-block-plugins.json curl –globoff –silent “https://api.wordpress.org/plugins/info/1.2/?action=query_plugins&request[browse]=blocks&request[page]=2&request[per_page]=400” | jq “.plugins[] | { name: .name, url: \”https://wordpress.org/plugins/\\(.slug)/\”, short: .short_description, description: .description }” >> wp-block-plugins.json Now, when … Read more

Getting Fatal error: Uncaught Error: Call to undefined function plugin_dir_path() when linking to another file within my wordpress plugin

I solved the problem using the admin_url() wordpress function. In order to link to another page in the plugin or even to another plugin within my project, I did it by passing the registered url to admin_url() function. <a href=”https://wordpress.stackexchange.com/questions/367725/<?php echo admin_url(“admin.php?page=edit-member-page&id=’.$id);?>”>John Smit`h</a> //The $id variable passed to the link will be retrieved by use … Read more