Put That in Your Pipe and Smoke It

What does the idiom “Put That in Your Pipe and Smoke It” mean?

Definition:

Accept and consider what I’m saying, even if you don’t like it!

For example:

“You have been going out way too late and missing work way too often. Put that in your pipe and smoke it!”