How to remove (Create Tasks) from main create menu button on navigation bar

Hello sir i had done this and it works fine but i was not able to understand sometimes it shows the whole options and sometimes showing only my options. What mistake i am doing ? If i go to any modules list view and detail view then it shows all the options. any idea Please share.
Thanks

Have a look at Smarty syntax. There are loops and conditions in that file, it will render different things according to the variables passed into it in different places.

https://www.smarty.net/docsv2/en/smarty.for.designers.tpl

In that file only ? ? Actually i don’t have knowledge of smarty template sir.

Neither do I, I just try to learn the parts I need as I go along, trying to solve my own problems.