This meaning refers to the part at the end of an electrical cable that connects to a socket.
Insert the plug into the wall socket.
The plug on this cable is damaged.
As a verb, plug means to connect equipment to power or close a hole firmly.
Plug the charger into the socket.
They plugged the leak with cloth.
This informal meaning refers to mentioning something repeatedly to attract attention or sales.
The actor used the interview to plug his new film.
She plugged the event on social media.