Hi @vivibosslink,
Both links seem to be pointing to the same files.
The first one of the images there is just a check to prevent accessing a PHP file directly – that is not needed in the case of snippets as there’s no “file”.
The second snippet is attempting to change the login url but it’s dependent on a setting in a plugin or theme from what I can see – if that function does not exist or the setting is not set it will not work or have any effect.
Are you getting an error when trying to activate the snippet?
From what I can see the issue is not with WPCode but with the snippets, if someone sent them to you I suggest asking them for assistance setting them up.