Hi,
I am currently making my own template for wordpress and I am using someone elses template as a reference.


I came across this code:

thesis_head::build();

I don't know what this code means ? What is :: for ?


Cheers,
Vishal

Recommended Answers

All 4 Replies

Member Avatar for rajarajan2017

Thesis is somewhat relevant to wordpress, so search the keyword with wordpress site.

what does :: mean ? any clue Its the first time I have come across it.

If you want the syntax meaning then :: generally called scope resolution it has other name which is something strange you can find that name in php.net.

The whole statement mean it directly called the build() function of thesis_head class i think. It's some kind of shortcut.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.