Update custom_plugins.rst

Update of #3180 

Fix #3180