π Python: Module Path β List Modules & Get Locations
Letβs say you have a Python module somehow installed on a computer, so you can "import" it, and you want to find a path to this module to check its source files.
In this note i am showing how to list all the locally installed Python modules and how to find the paths to these Python modules.
π Continue Reading
Letβs say you have a Python module somehow installed on a computer, so you can "import" it, and you want to find a path to this module to check its source files.
In this note i am showing how to list all the locally installed Python modules and how to find the paths to these Python modules.
π Continue Reading
ShellHacks
Python: Module Path - List Modules & Get Locations - ShellHacks
Letβs say you have a Python module somehow installed on a computer, so you can βimportβ it, and you want to find a path to this module to check its source files. In this note i am showing how to list all the locally installed Python modules and how to findβ¦
π WordPress: Auto-Post to Telegram Channel (No Plugin)
You can easily increase visitor traffic to your WordPress website by integrating it with a Telegram channel.
However, manually sharing every blog post to the Telegram channel can become a time-consuming task - especially if you publish an article every day.
In this note i will show how to create a callback function that will automatically publish new posts from your WordPress website to the Telegram channel without any plugins.
π Continue Reading
You can easily increase visitor traffic to your WordPress website by integrating it with a Telegram channel.
However, manually sharing every blog post to the Telegram channel can become a time-consuming task - especially if you publish an article every day.
In this note i will show how to create a callback function that will automatically publish new posts from your WordPress website to the Telegram channel without any plugins.
π Continue Reading
ShellHacks
WordPress: Auto-Post to Telegram Channel (No Plugin) - ShellHacks
How to automatically publish new WordPress posts to a Telegram channel for free and without any plugins. Complete step-by-step guide.
π WordPress: Enable REST API (rest_disabled: 401/403)
The WordPress REST API has become a part of the WordPress core starting from the version 4.7.
It is, for example, required by the WordPress Block Editor, and if the WordPress REST API is disabled, you won't be able to publish or update your posts: "Updating failed. REST API disabled.".
Normally, the WordPress REST API should be enabled by default and doesn't require installation of any additional plugins for this.
If the WordPress REST API on your website is still disabled this may be caused by the "W3 Total Cache" plugin (if it is installed and active).
This note shows how to enable the WordPress REST API if it has been disabled by the "W3 Total Cache".
π Continue Reading
The WordPress REST API has become a part of the WordPress core starting from the version 4.7.
It is, for example, required by the WordPress Block Editor, and if the WordPress REST API is disabled, you won't be able to publish or update your posts: "Updating failed. REST API disabled.".
Normally, the WordPress REST API should be enabled by default and doesn't require installation of any additional plugins for this.
If the WordPress REST API on your website is still disabled this may be caused by the "W3 Total Cache" plugin (if it is installed and active).
This note shows how to enable the WordPress REST API if it has been disabled by the "W3 Total Cache".
π Continue Reading
ShellHacks
WordPress: Enable REST API (rest_disabled: 401/403) - ShellHacks
How to enable the WordPress REST API that returns "rest_disabled: 401/403" error if it has been disabled by the "W3 Total Cache" plugin.
π WordPress: Disable REST API β Restrict Access
According to the official WordPress recommendations you should not disable the WordPress REST API as this will break the "WordPress Admin" functionality.
For example, the WordPress Block Editor requires the WordPress REST API and if you disable it you won't be able to publish or update your posts anymore.
However, you can use a filter to require that API consumers be authenticated, which effectively prevents anonymous external access.
π Continue Reading
According to the official WordPress recommendations you should not disable the WordPress REST API as this will break the "WordPress Admin" functionality.
For example, the WordPress Block Editor requires the WordPress REST API and if you disable it you won't be able to publish or update your posts anymore.
However, you can use a filter to require that API consumers be authenticated, which effectively prevents anonymous external access.
π Continue Reading
ShellHacks
WordPress: Disable REST API - Restrict Access - ShellHacks
How to disable a WordPress REST API for the anonymous external access.